Bernd Schubert a07d2d7930 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: stable@vger.kernel.org
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Tested-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Li Zetao <lizetao1@huawei.com>
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Link: https://lore.kernel.org/r/20241203-io_uring_cmd_done-res2-as-u64-v2-1-5e59ae617151@ddn.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-12-03 06:33:13 -07:00
..
2024-11-30 15:43:02 -08:00
2024-11-21 07:11:00 -07:00
2024-09-16 13:29:00 +02:00
2024-11-15 09:55:54 -07:00
2024-06-19 07:57:21 -06:00
2022-07-24 18:39:11 -06:00
2024-11-18 09:10:56 -07:00
2024-11-18 17:02:57 -08:00
2024-11-13 11:44:30 -05:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00