]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: Use memdup_array_user in amdgpu_userq_wait_ioctl
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>
Fri, 5 Dec 2025 13:40:29 +0000 (13:40 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:39:32 +0000 (14:39 -0500)
commitfb1bf29acdd5283ec1d3f291b509a060d940cf1f
treeb1f56e06ebbc4e675f74dcb1503ff132f6ba9db5
parente757981cd8c3974fa1313ac2b529294462785e59
drm/amdgpu/userq: Use memdup_array_user in amdgpu_userq_wait_ioctl

Use the existing helper instead of multiplying the size.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c