2020-12-22 23:49:59

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the block tree

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")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2020-12-23 00:16:41

by Jens Axboe

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the block tree

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