Re: [PATCH v2] io_uring: Change res2 parameter type in io_uring_cmd_done

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 03 Dec 2024 11:31:05 +0100, Bernd Schubert wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/1] io_uring: Change res2 parameter type in io_uring_cmd_done
      (no commit info)

Best regards,
-- 
Jens Axboe







[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux