aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2025-03-31 18:40:21 +0000
committerJens Axboe <[email protected]>2025-03-31 18:41:49 +0000
commita1fbe0a12178a006b04a7fa528457f9901d6c6d0 (patch)
tree2108cd46eda139ee07154c1076ac328562826b05 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentio_uring: cleanup {g,s]etsockopt sqe reading (diff)
downloadkernel-a1fbe0a12178a006b04a7fa528457f9901d6c6d0.tar.gz
kernel-a1fbe0a12178a006b04a7fa528457f9901d6c6d0.zip
io_uring/rsrc: check size when importing reg buffer
We're relying on callers to verify the IO size, do it inside of io_import_fixed() instead. It's safer, easier to deal with, and more consistent as now it's done close to the iter init site. Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/f9c2c75ec4d356a0c61289073f68d98e8a9db190.1743446271.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions