linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2] btrfs-progs: -Wshadow fixes
Date: Thu, 28 Sep 2023 13:36:32 +0930	[thread overview]
Message-ID: <cover.1695873867.git.wqu@suse.com> (raw)

Since -Wshadow is enabled recently, there are two new warnings:

- @e from cmd_inspect_list_chunks()
- @csum from print_header_info()
  This needs experimental features to be enabled

Just fix them all.

Qu Wenruo (2):
  btrfs-progs: remove variable e from cmd_inspect_list_chunks()
  btrfs-progs: fix a variable shadowing when enabling experimental
    features

 cmds/inspect.c             | 4 +---
 kernel-shared/print-tree.c | 4 ++--
 2 files changed, 3 insertions(+), 5 deletions(-)

--
2.42.0


             reply	other threads:[~2023-09-28  4:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-28  4:06 Qu Wenruo [this message]
2023-09-28  4:06 ` [PATCH 1/2] btrfs-progs: remove variable e from cmd_inspect_list_chunks() Qu Wenruo
2023-09-28  4:06 ` [PATCH 2/2] btrfs-progs: fix a variable shadowing when enabling experimental features Qu Wenruo
2023-10-02 15:17 ` [PATCH 0/2] btrfs-progs: -Wshadow fixes David Sterba

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=cover.1695873867.git.wqu@suse.com \
    --to=wqu@suse.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).