diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-09-08 23:15:54 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-15 16:51:53 -0400 |
commit | 99eeb8358e6cdb7050bf2956370c15dcceda8c7e (patch) | |
tree | 1aa48cebc6f016541dd7f7a9ee5748cc619facc9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | 6156c101e5f082ee8911fbf0e112319d67403794 (diff) |
drm/amdgpu: Replace kzalloc + copy_from_user with memdup_user
Replace kzalloc() followed by copy_from_user() with memdup_user() to
improve and simplify ta_if_load_debugfs_write() and
ta_if_invoke_debugfs_write().
No functional changes intended.
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions