Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp23510pxb; Wed, 30 Mar 2022 21:49:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySA/RtogXq/74nojo9iPNuo77njgfsEyMjPVNBcmjU3n5aFh/hcx8yU2yr5/MM/pv69R/W X-Received: by 2002:a17:90b:4d87:b0:1c9:7f58:e5ca with SMTP id oj7-20020a17090b4d8700b001c97f58e5camr3857542pjb.154.1648702158564; Wed, 30 Mar 2022 21:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648702158; cv=none; d=google.com; s=arc-20160816; b=SMTQQvaVARM85vhMM04zZKfQgRNEx3FQSXNbd6Jv4LS0k2DfHcpqaoRVjM/PUUnFa/ W1cCQSxEr50PWoB8sWpby1GCcH2foHB2h+nhP5t1u+edft/nLc0XHFmd8utwIfDW3uaR lV7mM/dA+r1aAioOdWVCaq4iff+tMm0r+C2lXE2t/JoJ7kLGQ/KUAK17acp2U9/qL6Lh fZpYbFe4emojy0kxxp9pDWGcPVvdSjWQpVudWx28PCy4N8xYHIBAq9Jv5elWQlYwkKGR /bkR2AH7vGB+mdC1TlVYp6pWTxBeiUYUcQwK2gYTthwCwVHnEeyOSp0dITr0B0p5QmyY QkCw== 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=ZdfhW3/ZLYHDhGI/1TjpJuKVnVr8zhSgOHN6hM1wlhk=; b=jB3kozTnjcWiBUHKVth0yyxcb6mPC64z5TyX3d+gDesyIlAadUEltWPoCJii+u76Hg oQCp8ylS8+R00LhHHapE7T0H9cQn4ATaPiQLwRVJbs20TfwdsjfEogNFeriKFxv5EoWE Cd1lUr2+qaxA97Du2+wh7xZ2qyj4Ojn0UxYzt8e/iuIQZTW11sudRu7I4A1UdqM3H6U3 B19zJxA6zNPEn7VVtJHrnMDfPP65/A0WkLZp3r1D5OuvXfT3v24BUuzBu/LUjT66ki7y hEl8gEe/Cu+794p+NBSsBykNBL62RCDOkenyHx8o2GVSG9ZsdMK2TpmsOfcwtED3Vu7Y 83Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=L1+XjfbP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g14-20020a63e60e000000b00382773de76csi23933515pgh.9.2022.03.30.21.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 21:49:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=L1+XjfbP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 AF15F1FE563; Wed, 30 Mar 2022 20:29:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348419AbiC3Pxv (ORCPT + 99 others); Wed, 30 Mar 2022 11:53:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348415AbiC3Pxs (ORCPT ); Wed, 30 Mar 2022 11:53:48 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD85E15A3C; Wed, 30 Mar 2022 08:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648655522; x=1680191522; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=aHOCvdmEcRy5ZvBUbTf9zFkDOMo9CAy71FTo/IenFRo=; b=L1+XjfbPxJ0kzgV7LL2sAqCWSdraTfNgzM6bnfGb40Jq8TBJqwvitsCC uo3pOiHpuItE7fsiALkf8yZEmQm3g0yF2G6dK3OUGxxpMWQU8166fszug kJu16kOpLkFzts1EXqlnFZWSpiad8XQiVuBjZ0N10KjZv5iLeZeSPAG6E rkM2h4w39gNynO2whfHEcO2Az6bJp9D7/S801+mztsCzKtG2PXD8h1/AK dtEgpEXRmvlTaMnfPyd78Np8KoivIWgu3MBORSybpcIwo4G1q80LpTK7t c/rPyArFw3RvOYa9l/czQ4nVwqfLvN8GxGjfdR3mrBPcNBYU8bDJBZwA5 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10302"; a="257154356" X-IronPort-AV: E=Sophos;i="5.90,223,1643702400"; d="scan'208";a="257154356" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 08:52:02 -0700 X-IronPort-AV: E=Sophos;i="5.90,223,1643702400"; d="scan'208";a="788049544" Received: from smile.fi.intel.com ([10.237.72.59]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 08:51:54 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nZabQ-009UCS-Cy; Wed, 30 Mar 2022 18:51:20 +0300 Date: Wed, 30 Mar 2022 18:51:20 +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> <6812bb31-5d2b-4737-c2ad-8727d105847d@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6812bb31-5d2b-4737-c2ad-8727d105847d@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 05:22:56PM +0200, Neil Armstrong wrote: > On 30/03/2022 11:18, 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? > > I'll submit it separately Sure! > > 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. > > Yes sure Thanks for acknowledging and review! -- With Best Regards, Andy Shevchenko