From: David Sterba <dsterba@suse.cz>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>
Cc: Ou Shixiong <oushixiong@kylinos.cn>, Chris Mason <clm@fb.com>,
Josef Bacik <josef@toxicpanda.com>,
David Sterba <dsterba@suse.com>,
linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] btrfs: scrub: initialize variable explicitly
Date: Thu, 8 Jun 2023 14:46:45 +0200 [thread overview]
Message-ID: <20230608124645.GJ28933@twin.jikos.cz> (raw)
In-Reply-To: <230384e8-55dc-579d-64e8-0c0263b72673@gmx.com>
On Thu, Jun 08, 2023 at 01:18:20PM +0800, Qu Wenruo wrote:
>
>
> On 2023/6/8 10:49, Ou Shixiong wrote:
> >
> > Fix error of
> > error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
> >
> > Signed-off-by: Ou Shixiong <oushixiong@kylinos.cn>
>
> Not again.
>
> Please explain how @ret can be uninitialized, and your toolchain version.
>
> To me, this looks like a false alert, and it's possible your toolchain
> is out of date or lacks certain backports.
Yeah, for obvious false altert warnings at least we need to know the
compiler, version and architecture.
prev parent reply other threads:[~2023-06-08 12:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-08 2:49 [PATCH] btrfs: scrub: initialize variable explicitly Ou Shixiong
2023-06-08 5:18 ` Qu Wenruo
2023-06-08 12:46 ` David Sterba [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=20230608124645.GJ28933@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=clm@fb.com \
--cc=dsterba@suse.com \
--cc=josef@toxicpanda.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oushixiong@kylinos.cn \
--cc=quwenruo.btrfs@gmx.com \
/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