Re: linux-next: build warning after merge of the block tree

From: Jens Axboe
Date: Wed Jul 20 2022 - 08:43:14 EST


On 7/19/22 9:33 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the block tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> io_uring/net.c: In function 'io_sendzc':
> io_uring/net.c:980:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> 980 | (u64)zc->buf, zc->len);
> | ^
>
> Introduced by commit
>
> bb4019de9ea1 ("io_uring: sendzc with fixed buffers")

I pushed a fix for this, thanks Stephen.

--
Jens Axboe