diff options
| author | Atul Raut <[email protected]> | 2023-08-08 22:30:18 -0700 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-15 18:07:41 -0400 |
| commit | bd6040b0ea04aca3f90bc81ccd2aa816d20292d7 (patch) | |
| tree | 8fc960055bc259a598a0fb6dd257b164503c6e3e /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8b3a7a707c6c5f7ccde47cf2427a560675cc5202 (diff) | |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions