Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2225462pxb; Wed, 30 Mar 2022 19:55:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLvSLN+yDz1zUwgcVzlSdrkFlxSTjUYo6JNinMrxg/ahoWDBIQARKSjr73sS6Pz/XN0XUc X-Received: by 2002:a17:903:250:b0:155:ff17:c9fe with SMTP id j16-20020a170903025000b00155ff17c9femr3137808plh.10.1648695358225; Wed, 30 Mar 2022 19:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648695358; cv=none; d=google.com; s=arc-20160816; b=bUZNl1qQiOzj+5UOXyfzI7UDg9XTtmKjq7YQKOmdcJ4ldEbMxfd0IZDfgj8RO714t+ jCe+DnSuwWQWHtRz7k61fusjBUmEkRRHLuJY8/y6hEO0sdpLllkwnHgL6sXgk7CUXbej vUjVPQGDTYSVRuiXLqgXqnEqDtH93VhcH80Ku7HiTfcMk+9dIpY0X8l/BtvRBfij8q3B SI6ezl9K2T1UROq4M2mOsUFvscy12XL2Qun5nGc6/OeiFj48he88MldfMMDTccum8UQl cD+6oNaMaNLDIb0gNRl4JaEM1Y/y3glL3Xbg9isp1uPAh25fVrbeZxvIcbo0A7bTpDVC JpVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=pF/hvrI7qLDjIFK1PZiWN5svxVn5RrF/RKLGWeqqmq0=; b=BiuT8cxjxHc94eAs4I3tiCJmVBL3h7cTVovrCLLzmhEkOINslircsTo0MCRFX2Qn+r ArzLGJVh77+rUv8PtZFkaQoaExl6i2pT29XRYEesiyrSqYrApdT1RidJwcRXijsAA9YR 6HoVq9hurqxQKFFTjFUSe+IeCMd1YHI/8Qn0MPRWtAdFToY1NWp5hZQJa4OaQV8X5WXP lxzlq4DQ+FSP5TmTU2hm6s0DmheWE51seQ/vvJE7EkPD00VujJhyoLdL0wfNG2hhpmdP 5w02pzWoMoR9nR168GTA0Wp6fiD9sYBeJcaX8R8ypcD1gKLmgYOQIdZOytkw7BQkjuey Tl+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=YwlT6ooY; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q5-20020a634305000000b003816043efa8si22637400pga.413.2022.03.30.19.55.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 19:55:58 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=YwlT6ooY; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DDC8BD760D; Wed, 30 Mar 2022 19:40:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244596AbiC3JLD (ORCPT + 99 others); Wed, 30 Mar 2022 05:11:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233791AbiC3JLC (ORCPT ); Wed, 30 Mar 2022 05:11:02 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD5031D8331 for ; Wed, 30 Mar 2022 02:09:14 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id p26-20020a05600c1d9a00b0038ccbff1951so376689wms.1 for ; Wed, 30 Mar 2022 02:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=pF/hvrI7qLDjIFK1PZiWN5svxVn5RrF/RKLGWeqqmq0=; b=YwlT6ooY5LZVCud47hjD3kjq5J2PtJRsbEtQHc6vflzUEeEpN8odscB+zjLMBN7stW hYn47ImQM/UY4YJ1Ru6twpC8LiFoOQ8LprNtUBavXaqVWHgOHFlbzCx756jylJNV3Yp9 6/9t/A3XxA9qdzKF5+nCdP5aHR6tEF5+2GcZZVgmxJOEDmnwspBqLlcncg6zkL5ilwWr b8vlsb4NIVa9svDY8Wdm1gBQxnVAyl5MhAotSnIYqI7Rl+CvQLVQwExfQ3/PiXBnqQzn T//pXYch9DcznS2bDu+JjS2n2XbBY2N86LVJfZG6+M4SUbkHIk7q/1YDNmFmMZKmzNZj 1oFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=pF/hvrI7qLDjIFK1PZiWN5svxVn5RrF/RKLGWeqqmq0=; b=QKTJQ76R2lD9gGQRfI/by8tpiBNF4mwslnKz4UcWWJ7XqQoJQJND5u1F6LGPhOzmIJ RsyLXIxMPRtotMhK0WruhqzzX8C9DZ8uCYkgJzAqvfiEJbbCkw4Pc+0bbDbcVzSumY+j QtWBtB9w+4tNCDWlJRUA9XrP0RQfMd9Q1/qHQdCbQixuVZN8gwSdy+6aI8ymVf6rn5px GPSo+M+WdQg1wiFgPfW9ZM4v70JJBov3OI0cFCzs7Gdk+NfyjSIiW25bQ41la8nphxqu w4GEDhS++M1QzYSIJU7aRtIBUfd0NmUxhncrH9DOB71I4AM4xcZ9eQmE4p3qhwl4aCvB hGlA== X-Gm-Message-State: AOAM532e5XjWtbEuPna4HZM/4Ea5KoUffvIDaHGN2i/n98zHFsUM+NQD y1k4SLNQsz4vbiUtANdWOcRbYg== X-Received: by 2002:a7b:c778:0:b0:38c:9064:89fc with SMTP id x24-20020a7bc778000000b0038c906489fcmr3396059wmk.175.1648631353152; Wed, 30 Mar 2022 02:09:13 -0700 (PDT) Received: from ?IPV6:2001:861:44c0:66c0:e47f:3cdb:5811:cee8? ([2001:861:44c0:66c0:e47f:3cdb:5811:cee8]) by smtp.gmail.com with ESMTPSA id n8-20020a5d5988000000b00203d5f1f3e4sm18249681wri.105.2022.03.30.02.09.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Mar 2022 02:09:12 -0700 (PDT) Message-ID: <1b0bc704-a740-ea15-1e90-166905be27d0@baylibre.com> Date: Wed, 30 Mar 2022 11:09:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2 09/13] pinctrl: meson: Rename REG_* to MREG_* Content-Language: en-US To: Geert Uytterhoeven , Andy Shevchenko Cc: 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 References: <20220329152926.50958-1-andriy.shevchenko@linux.intel.com> <20220329152926.50958-10-andriy.shevchenko@linux.intel.com> <94e888fe-d8fc-5379-302f-66d64f2ae10b@baylibre.com> From: Neil Armstrong Organization: Baylibre In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 30/03/2022 10:54, Geert Uytterhoeven wrote: > Hi Andy, > > 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: >>>> Rename REG_* to * as a prerequisite for enabling COMPILE_TEST. >>> >>> 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 ==============><================================== Neil > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds