public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: Pavel Begunkov <[email protected]>,
	 Arnd Bergmann <[email protected]>
Cc: Arnd Bergmann <[email protected]>,
	 Gabriel Krisman Bertazi <[email protected]>,
	David Wei <[email protected]>,
	 [email protected], [email protected]
Subject: Re: [PATCH] io_uring/net: fix build warning for !CONFIG_COMPAT
Date: Thu, 27 Feb 2025 07:57:34 -0700	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>


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




      parent reply	other threads:[~2025-02-27 14:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-27 13:20 [PATCH] io_uring/net: fix build warning for !CONFIG_COMPAT Arnd Bergmann
2025-02-27 13:49 ` Pavel Begunkov
2025-02-27 13:58   ` Arnd Bergmann
2025-02-28 12:14     ` Pavel Begunkov
2025-02-27 14:54   ` Pavel Begunkov
2025-02-27 14:57 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174066825461.2448424.2288181673828962428.b4-ty@kernel.dk \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox