> -----Original Message-----
> From: Peter Maydell <peter.mayd...@linaro.org>
> Sent: Monday, February 21, 2022 23:55
> To: Stefan Hajnoczi <stefa...@redhat.com>
> Cc: Wang, Haiyue <haiyue.w...@intel.com>; Fam Zheng <f...@euphon.net>; 
> qemu-de...@nongnu.org; open
> list:Block I/O path <qemu-block@nongnu.org>
> Subject: Re: [PATCH v1] aio-posix: fix build failure io_uring 2.2
> 
> On Mon, 21 Feb 2022 at 15:02, Stefan Hajnoczi <stefa...@redhat.com> wrote:
> > So the QEMU add_poll_remove_sqe() function would do:
> >
> >   io_uring_prep_poll_remove(sqe, (__u64)(uintptr_t)node);
> 
> __u64 is a linux-kernel-ism -- we should use uint64_t, I think.

Use '(__u64)(uintptr_t)' to follow the liburing code style ?

> 
> thanks
> -- PMM

Reply via email to