Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp586240rdg; Thu, 10 Aug 2023 12:18:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETLaI6DRVTZAM5m5V3Gj3TFOzjGlOvV/I1bKUjupM34NuH1EAn0DNQYTn8zqcwTAbInv0b X-Received: by 2002:a05:6e02:13e7:b0:349:2d1d:e463 with SMTP id w7-20020a056e0213e700b003492d1de463mr2987447ilj.13.1691695134696; Thu, 10 Aug 2023 12:18:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691695134; cv=none; d=google.com; s=arc-20160816; b=Oz6MmmsTr+7u/SEWw5l1ol0ajGJfDkPZ48lRxQ+CXk8vA3aI8RPO8H9XYk6FslLDE/ kyaV+yp0oUCnGme4N/2kGWdRzXDxEhhBLS1yCT1v2tHq/+WHZ2Ay7jCRTpi6XT5nTNmK p4YdLqJWen0/Whs6tGqW1DrD7WGPqSK0D/P7A6Xq/OpxcAlncLpvBTfBYm1iUZqtrFKD 6dZCdzyuR2A/WnthFDFKxAOLr8uuEe0RNhagPgHntqqXiSpGLJTd06Ai2dkVOS5MiFGt WyZa78kfhQklL2LD6w9eSwU6zuFJ1R/LyJS0Ti7zCNxQB+ZB9RwsRG190x3DYKzKrxbZ nj9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=sTBWbPbXMOVYOXKs1knmD/Ua0aninMPvw3zHQajoZoM=; fh=6R6+JvhKB3nQobRDFkLH3gdMyURiy8duf5w9TPGcf3k=; b=aH7WiYWnetQuzPur2s1OxkVVxfptlM3aT7uWlPkfeN8Cm8fGcFDWq+NI0jKpHbAcgm E7rfioh29ISoh5HefENrWYBBKj0Q5Lb0fxim+58v1db6NwUNZw2obstwX3DOkfJ44E0V lxhyRhUbk5ynt9K2tADt9q/KuGGjDGGhkE8/zNSPG52JazZHhFy+/dn2wAsSVNVSwJSy 1e4ldLhIWKdqrH7zsircUQ2j8w0F2ENy/Kx7/yzOcIu58HDMQEKB10TSxg7hQEbtxYx6 R6Y1KV37s9407O+VVypKFACV7OJcm20NBfe06q2kUCNy1T50mBrDz0SAoK9Gb2befFT5 kS8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=EAJv1Gif; dkim=neutral (no key) header.i=@suse.cz; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i24-20020a633c58000000b005649f6a9bd8si2015968pgn.83.2023.08.10.12.18.42; Thu, 10 Aug 2023 12:18:54 -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=pass header.i=@suse.cz header.s=susede2_rsa header.b=EAJv1Gif; dkim=neutral (no key) header.i=@suse.cz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233712AbjHJR1C (ORCPT + 99 others); Thu, 10 Aug 2023 13:27:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjHJR1B (ORCPT ); Thu, 10 Aug 2023 13:27:01 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1103211C; Thu, 10 Aug 2023 10:26:59 -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 8E20E1F45B; Thu, 10 Aug 2023 17:26:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1691688418; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sTBWbPbXMOVYOXKs1knmD/Ua0aninMPvw3zHQajoZoM=; b=EAJv1GifSX55JIxLJWRtpi1/vGB70r+PtQKBuuHRDZtOVCgY/3Y1TLzbhhvX4yxNfgPOHe UyOPa9cyLLiX53uE/o0shQkLnqTGjqg6FdpH6HoS8qGCbQwoTACc4RdswXGbuxgZDbKZsH /0aHFWHKji81ooFw28y8MdDqX7l4hoU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1691688418; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sTBWbPbXMOVYOXKs1knmD/Ua0aninMPvw3zHQajoZoM=; b=eyCzHc36a4VL1ccd4dA90gNeJ6TnT/f8zB2OtdrWSK7TMmHi1PBlAF0Bxq8KhSm90XI1GO +GoQgZrDHAC1UdBQ== 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 4824F138E2; Thu, 10 Aug 2023 17:26:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id QLGOEOId1WSGUQAAMHmgww (envelope-from ); Thu, 10 Aug 2023 17:26:58 +0000 Date: Thu, 10 Aug 2023 19:20:33 +0200 From: David Sterba To: Nick Desaulniers Cc: Chris Mason , Josef Bacik , David Sterba , Arnd Bergmann , kernel test robot , Johannes Thumshirn , Qu Wenruo , Anand Jain , Filipe Manana , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Arnd Bergmann , linux@leemhuis.info Subject: Re: [PATCH] btrfs: remove unused pages_processed variable Message-ID: <20230810172033.GK2420@twin.jikos.cz> Reply-To: dsterba@suse.cz References: <20230724121934.1406807-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no 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, Aug 03, 2023 at 09:45:27AM -0700, Nick Desaulniers wrote: > On Tue, Jul 25, 2023 at 2:49 PM Nick Desaulniers > wrote: > > > > On Mon, Jul 24, 2023 at 02:19:15PM +0200, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > The only user of pages_processed was removed, so it's now a local write-only > > > variable that can be eliminated as well: > > > > > > fs/btrfs/extent_io.c:214:16: error: variable 'pages_processed' set but not used [-Werror,-Wunused-but-set-variable] > > > > > > Fixes: 9480af8687200 ("btrfs: split page locking out of __process_pages_contig") > > > Reported-by: kernel test robot > > > Closes: https://lore.kernel.org/oe-kbuild-all/202307241541.8w52nEnt-lkp@intel.com/ > > > Signed-off-by: Arnd Bergmann > > > > Thanks for the patch! > > Reported-by: kernelci.org bot > > Link: https://lore.kernel.org/llvm/64c00cd4.630a0220.6ad79.0eac@mx.google.com/ > > Reviewed-by: Nick Desaulniers > > Friendly ping the btrfs maintainers to please pick this up. Fix folded to the original patch, thanks.