[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191018115126.6263a3e3@canb.auug.org.au>
Date: Fri, 18 Oct 2019 11:51:26 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Jens Axboe <axboe@...nel.dk>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: linux-next: build warning after merge of the block tree
Hi all,
After merging the block tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
fs/io_uring.c: In function 'io_accept':
fs/io_uring.c:1729:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1729 | addr = (struct sockaddr __user *) READ_ONCE(sqe->addr);
| ^
fs/io_uring.c:1730:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1730 | addr_len = (int __user *) READ_ONCE(sqe->addr2);
| ^
Introduced by commit
d674c2b9335f ("io_uring: add support for IORING_OP_ACCEPT")
addr and addr2 are __u64 ...
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists