[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <174066825461.2448424.2288181673828962428.b4-ty@kernel.dk>
Date: Thu, 27 Feb 2025 07:57:34 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>,
Arnd Bergmann <arnd@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>,
Gabriel Krisman Bertazi <krisman@...e.de>, David Wei <dw@...idwei.uk>,
io-uring@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] io_uring/net: fix build warning for !CONFIG_COMPAT
On Thu, 27 Feb 2025 14:20:09 +0100, Arnd Bergmann wrote:
> A code rework resulted in an uninitialized return code when COMPAT
> mode is disabled:
>
> io_uring/net.c:722:6: error: variable 'ret' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
> 722 | if (io_is_compat(req->ctx)) {
> | ^~~~~~~~~~~~~~~~~~~~~~
> io_uring/net.c:736:15: note: uninitialized use occurs here
> 736 | if (unlikely(ret))
> | ^~~
>
> [...]
Applied, thanks!
[1/1] io_uring/net: fix build warning for !CONFIG_COMPAT
commit: 4afc332bc86c34b74f1211650f748feb6942a9cc
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists