summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorAtul Raut <rauji.raut@gmail.com>2023-08-09 08:30:18 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-08-16 01:07:41 +0300
commitbd6040b0ea04aca3f90bc81ccd2aa816d20292d7 (patch)
tree8fc960055bc259a598a0fb6dd257b164503c6e3e /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent8b3a7a707c6c5f7ccde47cf2427a560675cc5202 (diff)
downloadlinux-bd6040b0ea04aca3f90bc81ccd2aa816d20292d7.tar.xz
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 <rauji.raut@gmail.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions