From: Ammar Faizi <[email protected]>
To: Jiapeng Chong <[email protected]>, [email protected]
Cc: [email protected], [email protected],
[email protected],
Abaci Robot <[email protected]>
Subject: Re: [PATCH] io_uring: Fix uninitialized use of ret in io_eventfd_register()
Date: Wed, 9 Feb 2022 18:06:15 +0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
On 2/9/22 5:26 PM, Jiapeng Chong wrote:
> In some scenarios, ret is not assigned in the whole process, so it
> needs to be initialized at the beginning.
>
> Clean up the following clang warning:
>
> fs/io_uring.c:9373:13: note: initialize the variable 'ret' to silence
> this warning.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
This is already fixed in commit
4c65723081332607ca331072b0f8a90189e2e447 ("io_uring: Fix use of uninitialized ret in io_eventfd_register()")
https://lore.kernel.org/all/[email protected]/T/
https://github.com/torvalds/linux/commit/4c65723081332607ca331072b0f8a90189e2e447.patch
--
Ammar Faizi
prev parent reply other threads:[~2022-02-09 12:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 10:26 [PATCH] io_uring: Fix uninitialized use of ret in io_eventfd_register() Jiapeng Chong
2022-02-09 11:06 ` Ammar Faizi [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 \
[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