Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2779277rdb; Mon, 4 Dec 2023 07:20:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGLmtl7sqmNm/K17+TzBovLe7LV5H2Whb2+jdWa4OB49OWDmKEqMOUri2aFoY4vg/mSCF0l X-Received: by 2002:a05:6a00:2e0f:b0:6ce:6007:9bb with SMTP id fc15-20020a056a002e0f00b006ce600709bbmr686842pfb.60.1701703251712; Mon, 04 Dec 2023 07:20:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701703251; cv=none; d=google.com; s=arc-20160816; b=JH7dWoGKruT04vyqXqOIvzNsHE+rd6X/t/W/XRimh0VPkB7gurthvmGU9jDu4ev195 u6JEJXRcLNWHpwr/4hgWiqF8qtRcBN+SbeDkT0Yxj4bGc6QDTw3qQ/NyC/lEsYLRMCRm 3jdbv4NpXbLQwCxkHe8r472KJPpSQLt2R5oKQfiKPCN6cEQH9kQvmCXahXW2YinzbOsl nI6o97q/w+g5RJcYnj4mSxtI/lTqLFq81u4PjKMXAu+ePCCo0+CcyZdxH5Ill9xyNNLY urmIv9LksGa8HmRCX0RGut/5HI1YuemB2DM1MHSoQCAoUKhdq0hANeU96+LcFQT91zCo +WUw== 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=stA+FMH5CBJo+8X/c9AmmtIaulIDzgpBtKqOxrxQHfs=; fh=eftjYYzgJqz87kWLyB//8EUTOIGq4UNIkxXmp02F2FA=; b=AKOKZBBR6ATEuxMNEKNX0N8VJQGrlfdVtCvecSysaPxsDGsCBbP/fYA53nt3l+qBNM VUpPP5GyMEgEpbmAHV2rX4lwRQTML1AjrggiluEXBFBX9dBWqRS0wd7RGTwoit9WWBu7 huCddGjALJeG/cjm0G65YYQEOdi1+07nofBfxCM9VbytASbuAt9dl5sH7EfpKq+tTMyq MpQMkJWNx+i5qiFtHJ7EmT8PbOveFn7B01H/PWus48cHahfIkvJIZXKl90XdLoXl9E7B Ajwcmub9VKrI+NozWZ4tyhZz917iSniBttetT+krgrkIh7oWl1vCaW+vCKgTOZGvQRUR iHvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="BVn/0SCB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id y64-20020a636443000000b005c678d5eec1si2914126pgb.607.2023.12.04.07.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 07:20:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="BVn/0SCB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7E22D807867B; Mon, 4 Dec 2023 07:20:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234424AbjLDPUg (ORCPT + 99 others); Mon, 4 Dec 2023 10:20:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234336AbjLDPUe (ORCPT ); Mon, 4 Dec 2023 10:20:34 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59D83102; Mon, 4 Dec 2023 07:20:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701703241; x=1733239241; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qEhcxASuizJtM7lcwqFFlnnisGnpfIA8jp4KVzQJVnU=; b=BVn/0SCBVc7iyAPES7Xan1ZhgYXKaiR4Np96sv0Tfh7s7ubzLvuc1sv6 jx0XzaYwn8stG9dFgHBrae56kIv6oJQvyh6KYsHqGNaLFj0+dO1icciIR d0rN98qhJA/Gd4SXIXhc6Zz8Q9NEhzN7HoKby84PZIFEtwM+o/kr0kmQF aCvup4GjX+IjowYFr664W4O6FKLkx64DdCyx6C5DVcC6g6svK5hkarsQ5 Bjbb7jGsmvVotntrfPVlWBvCQT/1PQ7sH+dEOvK9BeDThiL9ZFL/AuotO JxoX4H8DerJkPiNQpGivEp61hvZxjeykGgDGxMfE2ILULEuOI5JnUdIWO w==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="15293969" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="15293969" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 07:20:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="841086629" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="841086629" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 07:20:35 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rAAkK-00000001muJ-2OQO; Mon, 04 Dec 2023 17:20:32 +0200 Date: Mon, 4 Dec 2023 17:20:32 +0200 From: Andy Shevchenko To: Arnd Bergmann Cc: Naresh Kamboju , Linux ARM , open list , lkft-triage@lists.linaro.org, Linux Regressions , "moderated list:ARM/Mediatek SoC..." , "open list:GPIO SUBSYSTEM" , Linus Walleij , sean.wang@kernel.org, Russell King Subject: Re: arm: gcc-8: drivers/pinctrl/mediatek/../core.h:211:21: error: initializer element is not constant (struct group_desc) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 04 Dec 2023 07:20:49 -0800 (PST) On Mon, Dec 04, 2023 at 04:11:11PM +0100, Arnd Bergmann wrote: > On Mon, Dec 4, 2023, at 13:08, Naresh Kamboju wrote: > > Following build errors noticed on Linux next-20231204 tag with gcc-8 toolchain > > for arm and arm64. > > > > ## Test Regressions (compared to next-20231201) > > * arm, build > > - gcc-8-defconfig > > > > * arm64, build > > - gcc-8-defconfig > > > > Reported-by: Linux Kernel Functional Testing > > > > Build log arm and arm64: > > ------------ > > In file included from drivers/pinctrl/mediatek/pinctrl-moore.h:21, > > from drivers/pinctrl/mediatek/pinctrl-mt7623.c:11: > > drivers/pinctrl/mediatek/../core.h:211:21: error: initializer element > > is not constant > > (struct group_desc) { \ > > This apparently comes from c0c8dd0a7773 ("pinctrl: core: Add a > convenient define PINCTRL_GROUP_DESC()") and following patches > from Andy Shevchenko (added to Cc). > > I also checked different compiler versions and found that the > new code works fine with gcc-13.2.0, but not with gcc-12 or > older. Thank you, Linus already dropped problematic changes. -- With Best Regards, Andy Shevchenko