[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164432868079.113641.15442485560114247466.b4-ty@kernel.dk>
Date: Tue, 08 Feb 2022 06:58:00 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>,
Nathan Chancellor <nathan@...nel.org>
Cc: io-uring@...r.kernel.org, llvm@...ts.linux.dev,
Usama Arif <usama.arif@...edance.com>,
linux-kernel@...r.kernel.org,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: Re: [PATCH] io_uring: Fix use of uninitialized ret in io_eventfd_register()
On Mon, 7 Feb 2022 09:24:11 -0700, Nathan Chancellor wrote:
> Clang warns:
>
> fs/io_uring.c:9396:9: warning: variable 'ret' is uninitialized when used here [-Wuninitialized]
> return ret;
> ^~~
> fs/io_uring.c:9373:13: note: initialize the variable 'ret' to silence this warning
> int fd, ret;
> ^
> = 0
> 1 warning generated.
>
> [...]
Applied, thanks!
[1/1] io_uring: Fix use of uninitialized ret in io_eventfd_register()
commit: 4c65723081332607ca331072b0f8a90189e2e447
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists