From: Jens Axboe <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: [PATCH] io_uring: re-issue plug based block requests that failed
Date: Fri, 5 Jun 2020 16:27:04 -0600 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+icZUXRE+++FbchwF5Rhrj5AeRY=H2T8m07Y8CV5bhu_s5OgA@mail.gmail.com>
On 6/5/20 4:05 PM, Sedat Dilek wrote:
> Hi Jens,
>
> with clang-10 I see this new warning in my build-log:
>
> fs/io_uring.c:5958:2: warning: variable 'ret' is used uninitialized
> whenever switch default is taken [-Wsometimes-uninitialized]
> default:
> ^~~~~~~
> fs/io_uring.c:5972:27: note: uninitialized use occurs here
> io_cqring_add_event(req, ret);
> ^~~
> fs/io_uring.c:5944:13: note: initialize the variable 'ret' to silence
> this warning
> ssize_t ret;
> ^
> = 0
> 1 warning generated.
Thanks! I'll fold in the fix.
--
Jens Axboe
prev parent reply other threads:[~2020-06-05 22:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-05 22:05 [PATCH] io_uring: re-issue plug based block requests that failed Sedat Dilek
2020-06-05 22:13 ` Sedat Dilek
2020-06-05 22:27 ` 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 \
[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