Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2221737pxb; Wed, 30 Mar 2022 19:48:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRgX5R022XHpU1sv/0cDfRNHwbiz1UmZOxgElh3EXtezEJ/SfA2UaDNYf3vanPklEMz5ul X-Received: by 2002:a17:903:1212:b0:156:3ddc:84bd with SMTP id l18-20020a170903121200b001563ddc84bdmr2772353plh.70.1648694909653; Wed, 30 Mar 2022 19:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648694909; cv=none; d=google.com; s=arc-20160816; b=gykdQUfiTOulOYYwDj6scHL0M8iP7sSZcweXCtF08ExMRdtBSM4NVAGKGcVVzQgSed qHHYQSIT05EcD51s8KsTN7qC+5th9v5dlbJA3G9cXkNAMUTmfHgAO8lQbTq/2wT495pj 44QVlqpSc4AZutaDXiRH4rD8jHEyrAO/X8/2qLUkkdLSfVDaxkofifKtUuFv0qRmJlru Wk15a1KE66x9FezarkwWnm7sxkJ7a1PNw4j0duwUwOY9AARhp8NQmW0NvTNTWV4QvCRM 3Rj3S2UcrbFFrzCFz0kYTAeX9JS7jKlNFk+06pYByMFTLDAxQeA8OKjUdmq0I+Ufcvfe 6Nbw== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Euvbt/N9IlR+eZIokldL6t9Wza1Az5Unq7kj7Z1bM1c=; b=BgUciujofIQ/8+RZ7m4sdiMp6gBK1uTl6UwN0Q8w/T7ZhQVI5g66sF1NrX7LiuAtOd ztgDyiGsNOdMmzfeAwQ2GjY4MB/MK98fWggFI++oTjJsMJtwkdGkuz3KXt2bPLrddVHV qlVzDdQNrz3T/SHCFPbkNvKTtimjLO9WitJm2+7oRGrahPjwoJTC5AwscenjadHw2E+X J/zukCs60FuVkD9ue6aPAQUwjDfzDQ34rJPtIA2aD73sbOcx9Vs7mOJeyH5stz56GFkH jTJRw5ABlnCwCt2NQBN3xDy6zNbayCMW0mnVzGq1VZhqphQyhVcOyatKuBgSIiQt6aGC uMHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Mn7JTZsO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id mi2-20020a17090b4b4200b001c6fdf85547si2154393pjb.88.2022.03.30.19.48.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 19:48:29 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Mn7JTZsO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A6140BBE1E; Wed, 30 Mar 2022 19:37:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244738AbiC3JVc (ORCPT + 99 others); Wed, 30 Mar 2022 05:21:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239060AbiC3JVb (ORCPT ); Wed, 30 Mar 2022 05:21:31 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07D0B2AE0B; Wed, 30 Mar 2022 02:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648631987; x=1680167987; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=CexHFbKj9fB0vNoQokL/+22Rm+MDw+vDfIRSUuljC98=; b=Mn7JTZsOTOBNeAEGt4CfoFN5gE/VDJUPR4O7bnAIlleXtpVHHkKCgT3I hwufW2QW9K92F7x+PCOiGxQNKX4neerdrIZOzptKpR/FrM/k6ToxmbCRe LdAmjS7v1Sq5vWx8UC+8eoJ24bZ2y7qJxSIHvOqJw5RGy3xc7512yqTZq 6f3ckRD+zbRS3oxnjrZCizMlKL6zAlhSZ2g/F1FEzr67R4PNSLAe/8WM8 EKVvoeQI1UpUtw1mXh9y0Kpwa9qtmZ/kIn0U3MTohmOAVj3+zUAwzGIcr vZXSKmIlA+j23qBVq7dk8xaP3AgoChmRONl05SqULhnRjLZOQhZfPT6T5 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10301"; a="259211013" X-IronPort-AV: E=Sophos;i="5.90,222,1643702400"; d="scan'208";a="259211013" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 02:19:37 -0700 X-IronPort-AV: E=Sophos;i="5.90,222,1643702400"; d="scan'208";a="503246100" Received: from smile.fi.intel.com ([10.237.72.59]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 02:19:30 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nZUTf-009J1d-AZ; Wed, 30 Mar 2022 12:18:55 +0300 Date: Wed, 30 Mar 2022 12:18:55 +0300 From: Andy Shevchenko To: Neil Armstrong Cc: Geert Uytterhoeven , Qianggui Song , Krzysztof Kozlowski , Fabien Dessenne , "open list:GPIO SUBSYSTEM" , Linux ARM , "open list:ARM/Amlogic Meson..." , Linux Kernel Mailing List , openbmc@lists.ozlabs.org, Linux-Renesas , linux-samsung-soc , linux-stm32@st-md-mailman.stormreply.com, Linus Walleij , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Geert Uytterhoeven , Tomasz Figa , Sylwester Nawrocki , Alim Akhtar , Maxime Coquelin , Alexandre Torgue , Bartosz Golaszewski , Philipp Zabel Subject: Re: [PATCH v2 09/13] pinctrl: meson: Rename REG_* to MREG_* Message-ID: References: <20220329152926.50958-1-andriy.shevchenko@linux.intel.com> <20220329152926.50958-10-andriy.shevchenko@linux.intel.com> <94e888fe-d8fc-5379-302f-66d64f2ae10b@baylibre.com> <1b0bc704-a740-ea15-1e90-166905be27d0@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b0bc704-a740-ea15-1e90-166905be27d0@baylibre.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 Wed, Mar 30, 2022 at 11:09:11AM +0200, Neil Armstrong wrote: > On 30/03/2022 10:54, Geert Uytterhoeven wrote: > > On Tue, Mar 29, 2022 at 6:47 PM Andy Shevchenko > > wrote: > > > On Tue, Mar 29, 2022 at 06:13:19PM +0200, Neil Armstrong wrote: > > > > On 29/03/2022 17:29, Andy Shevchenko wrote: ... > > > > What error do you hit ? > > > > > > arch/x86/include/asm/arch_hweight.h:9:17: error: expected identifier before string constant > > > 9 | #define REG_OUT "a" > > > | ^~~ > > > > Perhaps REG_{OUT,IN} in arch/x86/include/asm/arch_hweight.h should be > > renamed instead, as this is a generic header file that can be included > > anywhere, while the REG_{OUT,IN} definitions are only used locally, > > in the header file? > > Even better, those REG_OUT/REG_IN should be undefined at the end of the header since only > used in the headers inline functions: > ==============><================================== > diff --git a/arch/x86/include/asm/arch_hweight.h b/arch/x86/include/asm/arch_hweight.h > index ba88edd0d58b..139a4b0a2a14 100644 > --- a/arch/x86/include/asm/arch_hweight.h > +++ b/arch/x86/include/asm/arch_hweight.h > @@ -52,4 +52,7 @@ static __always_inline unsigned long __arch_hweight64(__u64 w) > } > #endif /* CONFIG_X86_32 */ > > +#undef REG_IN > +#undef REG_OUT > + > #endif > ==============><================================== Can you submit a formal patch, please? And I think it would be good to have my patch as well, so we do not depend on the fate of the other one. -- With Best Regards, Andy Shevchenko