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

From: Jens Axboe <[email-masked]>
Date: Thu, 30 Jan 2020 17:25:53 -0700

On 1/30/20 5:16 PM, Stephen Rothwell wrote:
> 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_uring_show_fdinfo':
> fs/io_uring.c:6558:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
>  6558 |   seq_printf(m, "%5u: 0x%llx/%lu\n", i, buf->ubuf, buf->len);
>       |                              ~~^                   ~~~~~~~~
>       |                                |                      |
>       |                                long unsigned int      size_t {aka unsigned int}
>       |                              %u
> 
> Introduced by commit
> 
>   0380f1b6d0c6 ("io_uring: add ->show_fdinfo() for the io_uring file descriptor")

Thanks, did fix that up, forgot to push to for-next... Will rectify that now.

-- 
Jens Axboe