Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1628395rwr; Thu, 27 Apr 2023 22:34:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4uXReLT5iOrUw0xIp4EjUy1gyeQu88gVCNIhkmAFEvZx3JxFO4+9+U10mhD2IHdU9ObzDG X-Received: by 2002:a17:902:c40d:b0:1a6:4200:bef4 with SMTP id k13-20020a170902c40d00b001a64200bef4mr4700269plk.56.1682660074062; Thu, 27 Apr 2023 22:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682660074; cv=none; d=google.com; s=arc-20160816; b=kVt2mJGg9QADGkNa++fagUk1Q4gdJVeonbNJdjMdANIey/3uRw8k3oxVY75o9F0O1H LibhezpTSFl+3/B/1N38/YYzZGoBJpg2ByAs15LZgXo0N1Gdl9JwKX1N2pFF1lWR5Jo/ JfsRUdQvVqzCXE8jlHjlaOVHeDdQPWCHqFZKnT2X4VAv21yXCzng/aj7j32ED/u1QCt2 vG9C9JLDfhY8Ycqovpyg6sKZSjkHjcJpnoLX2sxWB2SMIIeihK9P0J5zc77glGeDbdKN pafsz+ocCOpaXsb1sEx/IJvQFjq7wO8DzjV4+aGm5sdDTMA6xAAhjt8HytwAkjs64mlc jrOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WXuHcAHwQLSuZMfXy+lpOO2cfRIYmmZOzDS7AiB/VkY=; b=fd/GwkUwo8QIzYOJXhvEsLu21ABDjI8ma2GGfdaSrum6Xv6nzTIgvzgyGUcXRs5tW5 nY9JoJYBEW7msxeB+cikwVJOffGEkvata30FOB92GXRGb7B+NmEMTa7sbbjbjzxRr07q cI8jXeSgbnA2zsDf8h4fQ8RtPMJGpCuzzpL2dHeZsOR+EmC44f6SWBYTLNTyD68zUZbh EfndHSBvaFpLKGVvHZKXP0m3ZSb7ZAnCvRA2XDETCu7zBL7PGzkG8JtqpL7J9xxrlAz6 S2JVmTcMxRlKs+efW5ZZq3/a8DVWFPZMf/J2CVKbRkWaONY4mJhhuFpbvHqS7N0n+9RG VBuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=kzGmSqpK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l14-20020a170902f68e00b001a69d1be184si17317365plg.506.2023.04.27.22.34.20; Thu, 27 Apr 2023 22:34:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=kzGmSqpK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229445AbjD1FWR (ORCPT + 99 others); Fri, 28 Apr 2023 01:22:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345203AbjD1FWP (ORCPT ); Fri, 28 Apr 2023 01:22:15 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB5D52724 for ; Thu, 27 Apr 2023 22:22:14 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-120-46.bstnma.fios.verizon.net [173.48.120.46]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 33S5Lh6F008580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Apr 2023 01:21:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1682659307; bh=WXuHcAHwQLSuZMfXy+lpOO2cfRIYmmZOzDS7AiB/VkY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kzGmSqpKyT/E6AHTPiILqWkI/Ia5cfUORbOq6zvSmPsE2y1R14SyGlVR/Sr/9ypLH VKJrDtZKo+BhQ2W1Fu7SQIPvfyBMtD7f7Q2NJyzONDzHB9TYax4BD9FrpqRW8OmBd0 exItLtNnUdc+wiJAW62FXupLsSH6OfLQdFuJPQMBUNEHYFBvdo3b74vsw7jsBD8GOB AlEwW8sdgCHkyXmhxvSYsKEbstp2jt3E5Qj8s8dPkSDiBaE4MPmN76Ic9VsblCIPzJ MMwbdjEd1ns7xIcmuHpkL9mnnqXlH9cbg5r82/E1eb29W5pbxL6NKEiQeVZIFTmXbZ qtRkEJ02W8y/A== Received: by cwcc.thunk.org (Postfix, from userid 15806) id AA06A15C3AC2; Fri, 28 Apr 2023 01:21:43 -0400 (EDT) From: "Theodore Ts'o" To: adilger.kernel@dilger.ca, Nathan Chancellor Cc: "Theodore Ts'o" , yanaijie@huawei.com, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ext4: Fix unused iterator variable warnings Date: Fri, 28 Apr 2023 01:21:42 -0400 Message-Id: <168265929108.244350.11944078195733675751.b4-ty@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20230420-ext4-unused-variables-super-c-v1-1-138b6db6c21c@kernel.org> References: <20230420-ext4-unused-variables-super-c-v1-1-138b6db6c21c@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Apr 2023 09:51:24 -0700, Nathan Chancellor wrote: > When CONFIG_QUOTA is disabled, there are warnings around unused iterator > variables: > > fs/ext4/super.c: In function 'ext4_put_super': > fs/ext4/super.c:1262:13: error: unused variable 'i' [-Werror=unused-variable] > 1262 | int i, err; > | ^ > fs/ext4/super.c: In function '__ext4_fill_super': > fs/ext4/super.c:5200:22: error: unused variable 'i' [-Werror=unused-variable] > 5200 | unsigned int i; > | ^ > cc1: all warnings being treated as errors > > [...] Applied, thanks! [1/1] ext4: Fix unused iterator variable warnings commit: 5b3e67cadf469110068175fb1e088d9bebaa4d7c Best regards, -- Theodore Ts'o