[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163465862593.624672.9684355063496610398.b4-ty@kernel.dk>
Date: Tue, 19 Oct 2021 09:50:30 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Arnd Bergmann <arnd@...nel.org>,
Pavel Begunkov <asml.silence@...il.com>
Cc: Jens Axboe <axboe@...nel.dk>, Arnd Bergmann <arnd@...db.de>,
io-uring@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [v2] io_uring: warning about unused-but-set parameter
On Tue, 19 Oct 2021 17:34:53 +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> When enabling -Wunused warnings by building with W=1, I get an
> instance of the -Wunused-but-set-parameter warning in the io_uring code:
>
> fs/io_uring.c: In function 'io_queue_async_work':
> fs/io_uring.c:1445:61: error: parameter 'locked' set but not used [-Werror=unused-but-set-parameter]
> 1445 | static void io_queue_async_work(struct io_kiocb *req, bool *locked)
> | ~~~~~~^~~~~~
>
> [...]
Applied, thanks!
[1/1] io_uring: warning about unused-but-set parameter
commit: 00169246e6981752e53266c62d0ab0c827493634
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists