[RFC PATCH 4/6] io_uring: add helper for fixed-buffer uring-cmd

Christoph Hellwig hch at lst.de
Tue Sep 7 00:47:59 PDT 2021


On Thu, Aug 05, 2021 at 06:25:37PM +0530, Kanchan Joshi wrote:
> +int io_uring_cmd_import_fixed(void *ubuf, unsigned long len,
> +		int rw, struct iov_iter *iter, void *ioucmd)
> +{
> +	u64 buf_addr = (u64)ubuf;

This will cause a warning on 32-bit platforms.



More information about the Linux-nvme mailing list