summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJesse Zhang <Jesse.Zhang@amd.com>2026-09-30 14:21:19 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-10-07 12:00:16 -0400
commit49a443fcb829be9fc780f10850652ddea2fe81f0 (patch)
tree340aeaf4e908023a640afc270d110713430795ee /scripts/Makefile.thinlto
parentf7497bbc19db4821c62b9d97b31c9086feb2d917 (diff)
downloadlinux-next-49a443fcb829be9fc780f10850652ddea2fe81f0.tar.gz
linux-next-49a443fcb829be9fc780f10850652ddea2fe81f0.zip
drm/amdgpu/userq: return the memdup_user() error for the user MQD
mes_userq_mqd_create() returns -ENOMEM when copying the user MQD fails, even though memdup_user() returns -EFAULT for a bad pointer or -EINTR when interrupted by a signal. Return PTR_ERR() instead. While at it drop the error messages. Neither case is a driver error and userspace shouldn't be able to spam the log with invalid IOCTL parameters. v2: drop the error messages (Christian) Fixes: 2c695d7c0720 ("drm/amdgpu: enable compute/gfx usermode queue") Fixes: 543b61453774 ("drm/amdgpu: enable SDMA usermode queues") Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions