From patchwork Thu Sep 28 04:06:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qu Wenruo X-Patchwork-Id: 13401922 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4277BCE7AF9 for ; Thu, 28 Sep 2023 04:06:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbjI1EG5 (ORCPT ); Thu, 28 Sep 2023 00:06:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjI1EG4 (ORCPT ); Thu, 28 Sep 2023 00:06:56 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B0D210A for ; Wed, 27 Sep 2023 21:06:55 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4F24F1F88F for ; Thu, 28 Sep 2023 04:06:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1695874013; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=thjVCnu/oDmqvcwHUkO/5yYMeMOjCogIMnHKGFFgvK8=; b=JbJBB5SXVbkEV3J8jX6Bwwj6Hd6vShwKwH067orB/5wEo1vkfBp8+Z4xbRA5BhlvMQvBSZ XjANYNjCm6i2bw1IEK9zbviHJoeybUfddWIG8/Qr5GeqtBf3q6kR+hbYU2gNfb0Hyjs/yS CI6u+3JLRNBXeXXx2MNVGv5tBNJ3zOs= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7E3CC1377A for ; Thu, 28 Sep 2023 04:06:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id zCQ7ENz7FGX1RQAAMHmgww (envelope-from ) for ; Thu, 28 Sep 2023 04:06:52 +0000 From: Qu Wenruo To: linux-btrfs@vger.kernel.org Subject: [PATCH 0/2] btrfs-progs: -Wshadow fixes Date: Thu, 28 Sep 2023 13:36:32 +0930 Message-ID: X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org 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