diff options
| author | Atul Raut <[email protected]> | 2023-08-09 05:30:18 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-15 22:07:41 +0000 |
| commit | bd6040b0ea04aca3f90bc81ccd2aa816d20292d7 (patch) | |
| tree | 8fc960055bc259a598a0fb6dd257b164503c6e3e /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
| parent | drm/amdgpu: Remove unnecessary ras cap check (diff) | |
| download | kernel-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
