aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
authorAtul Raut <[email protected]>2023-08-09 05:30:18 +0000
committerAlex Deucher <[email protected]>2023-08-15 22:07:41 +0000
commitbd6040b0ea04aca3f90bc81ccd2aa816d20292d7 (patch)
tree8fc960055bc259a598a0fb6dd257b164503c6e3e /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
parentdrm/amdgpu: Remove unnecessary ras cap check (diff)
downloadkernel-bd6040b0ea04aca3f90bc81ccd2aa816d20292d7.tar.gz
kernel-bd6040b0ea04aca3f90bc81ccd2aa816d20292d7.zip
drm/amdkfd: Use memdup_user() rather than duplicating its implementation
To prevent its redundant implementation and streamline code, use memdup_user. This fixes warnings reported by Coccinelle: ./drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:2811:13-20: WARNING opportunity for memdup_user Signed-off-by: Atul Raut <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions