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

From: Jens Axboe
Date: Tue Dec 22 2020 - 19:14:19 EST


On 12/22/20 4:47 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the block tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> fs/io_uring.c: In function 'io_uring_get_file':
> fs/io_uring.c:9408:6: warning: unused variable 'ret' [-Wunused-variable]
> 9408 | int ret;
> | ^~~
>
> Introduced by commit
>
> efc2519f427b ("io_uring: fix double io_uring free")

I'll fix it up, doesn't show up in my build...

--
Jens Axboe