Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp818466rwl; Fri, 24 Mar 2023 02:21:10 -0700 (PDT) X-Google-Smtp-Source: AKy350bmW+vnpdOZjI1Y19FuQQV59eqoXNaVbNRjv0GdTUP/eGlWwvJOtVY2OT++KHaqIfgc739i X-Received: by 2002:a17:906:a04a:b0:8b1:bab0:aa3d with SMTP id bg10-20020a170906a04a00b008b1bab0aa3dmr1913232ejb.8.1679649670398; Fri, 24 Mar 2023 02:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679649670; cv=none; d=google.com; s=arc-20160816; b=qZqjg4+jSWXi4zOzPMwCGB+jb6hqU+ZjAQr1amch+5FALWw7sA16n4pSzpIV0jMUj6 YDkinLxq2ho7JnfBNcGtKV5xcB8gTMvMwzM01ovGZobmMwZPgJQ4zR9Cp2kEliT7vOiz /GnRAEssCwUbIS0hj4hoT1ZgQVPDAN4z81tM75E+FKQOBCBktgIvN3KwLgBr/e0snbPc VZrzbjCzXiJepYoVKXQPDooXR6Hq5jl0yoygt7yF9XQQJT10v2w2o6NM0XEeqqA1eqlX ssbmgNBvVQhrdJ/hrglvAZ3QMfZmay7U0c0yfpS2J2z1YowV/LEs/k3PqLQAeHCh3U68 LR+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lxYzZViDbpAiQORVDWSakqk1fdUMhlrFlwFsTJ5JGPo=; b=Ay0Sd6S/jzJJ6t2QDrqavCJAM76cQB+queVmCGCH+S9ZBkk9RGBlBF/bbIMi4LFeLU eAh7QHF8VUj3ZPHc9J9V0SUoTAVSWUQxcAHYOkLOl45pkCsElV4F8+gf9lN2Q64a8P4K fCtEYDETAky8YVrURApzYpTQWy7SB60oYwH4ZkdWdJTrxdEwk6jqyNVwNQFtmAEBN7U/ ea3Ay20fIezHjlAjwP8+7ti3hpLWtWmK9BpCEZTfas9oCQIiDezPw2xa4Tr//OHjZmoP +jiWw05xmW/lmk4VLPMYbgP/O0PqD4Kop89PffmowxHsxh2HGlUoeaGzfPy+fz/o+fvP gs1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OQ3Oq38s; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cx10-20020a170906c80a00b009309c8ea649si18367025ejb.55.2023.03.24.02.20.46; Fri, 24 Mar 2023 02:21:10 -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=@intel.com header.s=Intel header.b=OQ3Oq38s; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231712AbjCXJUO (ORCPT + 99 others); Fri, 24 Mar 2023 05:20:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231728AbjCXJUL (ORCPT ); Fri, 24 Mar 2023 05:20:11 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3257A7EE6; Fri, 24 Mar 2023 02:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679649609; x=1711185609; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=vsNBrnwY/qFfdSufiaxoySiGuysdLC+OL9fxRmgKucY=; b=OQ3Oq38sLlGjmFk8Oapo3a5jEsDEbXy9CKNfB6iZ5oYmRlkN90WujeJi SA25MA2HRt9S82gsrtjbKuSWNuF1NL0ZtbrsZyR/1ept037Q09GUyrxAz 3i4nHdB7vsrP9h+BBlMwDmWvrwYkUsKVKHzJatZsY+f1Sivt8jB9p+l56 Hw/+dlmAqO8G4QdkQp4gQlkjczOZKzcxtYktY7WvUEa0Dwt33yzY5RsSj snobdRaXZnEWy1NEP02cFSBvCM/FXZfo0IGez3hU0cdSqo40fe9dgY1ay /3rUuAHyTOTma08Er4AqsygxOt0JU9UpmuXdyoV3TUyR/j9+Ow4a9Awq/ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="404652760" X-IronPort-AV: E=Sophos;i="5.98,287,1673942400"; d="scan'208";a="404652760" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2023 02:20:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="1012189014" X-IronPort-AV: E=Sophos;i="5.98,287,1673942400"; d="scan'208";a="1012189014" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga005.fm.intel.com with ESMTP; 24 Mar 2023 02:19:57 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pfdaS-007qVe-2O; Fri, 24 Mar 2023 11:19:52 +0200 Date: Fri, 24 Mar 2023 11:19:52 +0200 From: Andy Shevchenko To: Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= Cc: =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= , Mika Westerberg , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Michael Ellerman , Randy Dunlap , Arnd Bergmann , Niklas Schnelle , Bjorn Helgaas , "Rafael J. Wysocki" , Pali =?iso-8859-1?Q?Roh=E1r?= , "Maciej W. Rozycki" , Juergen Gross , Dominik Brodowski , linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-pci@vger.kernel.org, xen-devel@lists.xenproject.org, linux-acpi@vger.kernel.org, Miguel Ojeda , Richard Henderson , Ivan Kokshaysky , Matt Turner , Russell King , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Thomas Bogendoerfer , Nicholas Piggin , Christophe Leroy , Anatolij Gustschin , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , "David S. Miller" , Bjorn Helgaas , Stefano Stabellini , Oleksandr Tyshchenko Subject: Re: [PATCH v7 4/6] EISA: Convert to use less arguments in pci_bus_for_each_resource() Message-ID: References: <20230323173610.60442-1-andriy.shevchenko@linux.intel.com> <20230323173610.60442-5-andriy.shevchenko@linux.intel.com> <43e7ef6d-6248-4ee5-7144-70809e5c93e0@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <43e7ef6d-6248-4ee5-7144-70809e5c93e0@linaro.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE 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 Fri, Mar 24, 2023 at 10:02:15AM +0100, Philippe Mathieu-Daudé wrote: > On 23/3/23 18:36, Andy Shevchenko wrote: > > The pci_bus_for_each_resource() can hide the iterator loop since > > it may be not used otherwise. With this, we may drop that iterator > > variable definition. > > > > Signed-off-by: Andy Shevchenko > > Reviewed-by: Krzysztof Wilczyński > > --- > > drivers/eisa/pci_eisa.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/eisa/pci_eisa.c b/drivers/eisa/pci_eisa.c > > Since this is *PCI* EISA, could be squashed into previous patch. I believe it would be better to have them separated. But if maintainers want to squash, I can do that. > Reviewed-by: Philippe Mathieu-Daudé Thank you! -- With Best Regards, Andy Shevchenko