> -----Original Message----- > From: Peter Maydell <[email protected]> > Sent: Monday, February 21, 2022 23:55 > To: Stefan Hajnoczi <[email protected]> > Cc: Wang, Haiyue <[email protected]>; Fam Zheng <[email protected]>; > [email protected]; open > list:Block I/O path <[email protected]> > Subject: Re: [PATCH v1] aio-posix: fix build failure io_uring 2.2 > > On Mon, 21 Feb 2022 at 15:02, Stefan Hajnoczi <[email protected]> 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
