aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorBernd Schubert <[email protected]>2024-12-03 10:31:05 +0000
committerJens Axboe <[email protected]>2024-12-03 13:33:13 +0000
commita07d2d7930c75e6bf88683b376d09ab1f3fed2aa (patch)
treec2dbbaaa350aca60a9beaefb919db5093998af8c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentmodule: Convert symbol namespace to string literal (diff)
downloadkernel-a07d2d7930c75e6bf88683b376d09ab1f3fed2aa.tar.gz
kernel-a07d2d7930c75e6bf88683b376d09ab1f3fed2aa.zip
io_uring: Change res2 parameter type in io_uring_cmd_done
Change the type of the res2 parameter in io_uring_cmd_done from ssize_t to u64. This aligns the parameter type with io_req_set_cqe32_extra, which expects u64 arguments. The change eliminates potential issues on 32-bit architectures where ssize_t might be 32-bit. Only user of passing res2 is drivers/nvme/host/ioctl.c and it actually passes u64. Fixes: ee692a21e9bf ("fs,io_uring: add infrastructure for uring-cmd") Cc: [email protected] Reviewed-by: Kanchan Joshi <[email protected]> Tested-by: Li Zetao <[email protected]> Reviewed-by: Li Zetao <[email protected]> Signed-off-by: Bernd Schubert <[email protected]> Link: https://lore.kernel.org/r/[email protected] 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