Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp244049pxb; Sat, 10 Apr 2021 01:18:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK0EbQF2eG63COBA8h+r+cLhH+VvS/GBFIX7PWPROWkPq5iQhDNjsKJlytllzi0Zc9GM+Y X-Received: by 2002:a17:906:fccd:: with SMTP id qx13mr19298820ejb.275.1618042733266; Sat, 10 Apr 2021 01:18:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618042733; cv=none; d=google.com; s=arc-20160816; b=GMm4i1ENTXINqIFG2Bextxu7Nv5ULRwLs3xGoReY0ksbBijIDHocQcGdofh0YoSMC5 ecNEM4roC0F4YP8duMOfsREuL5Rih4D5HNVtEf57fKDiL32RvnHg4pbL557FAgYcpqKq ytwPAdQ5K2MPpT/xlLH0LxnXl0+SGX50UCd0djo/X4nK5sNt7uCb7g+/I7EKyxtqVzTm QoeFRnlP+/z68A4FbMyCQHrbo6DIzHirw/jAWH/0TywS0eWrJ037IBAGwRYQUmyMZMB5 sPaUAacjMVvaFprQ1jjrZ51qvqY9RWSmk8+FxbAhLtmrPDfzpEK+hMiXfBXNQ8GO5w+W QvoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from; bh=1g9dwFK+ZzjwKg1fm+1MQdSB/cgBpIFTQEyht7RYvAQ=; b=xTfL5n8YbAvVSpUaT4E601JiTuiXgzPIxxAYZBysg1NCR+tdU7Sd+jD9+P8uTrMdG2 KJsLbSO8vV+tUQurYS0Yod9vdeCsf4LxDl/t9xQWX8T/03oe3wvMVhqNjPg5cbcC7sFD LpQiRehZ0g0iBKiKtxGcPWL8IirttcW87N7WjKAmw4QHqrQjzsNtMinMcdWgxvjBQoVc tJQkE/3zD3+r5q4gpl1p94yDWyYVOHYHUl1Rrdwvpdm1iw94MV7L4Oa7R3D2xeLSxoHS CFlNt8j/R3fNPrp1EJyJ4A0NaQ0iBDztbk2XxHKKLuoX9qi8VauzxdCyWdFdgtpKd6f9 ZWhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=free.fr Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ne7si3761202ejc.604.2021.04.10.01.18.14; Sat, 10 Apr 2021 01:18:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=free.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229992AbhDJIPs (ORCPT + 99 others); Sat, 10 Apr 2021 04:15:48 -0400 Received: from smtp02.smtpout.orange.fr ([80.12.242.124]:25148 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbhDJIPr (ORCPT ); Sat, 10 Apr 2021 04:15:47 -0400 Received: from belgarion ([90.11.64.244]) by mwinf5d03 with ME id qwFG2400R5GBUJa03wFRLb; Sat, 10 Apr 2021 10:15:30 +0200 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Sat, 10 Apr 2021 10:15:30 +0200 X-ME-IP: 90.11.64.244 From: Robert Jarzmik To: Arnd Bergmann Cc: Daniel Mack , Haojian Zhuang , Arnd Bergmann , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, soc@kernel.org Subject: Re: [PATCH] ARM: pxa: mainstone: avoid -Woverride-init warning In-Reply-To: <161727243811.583633.1536328285829233051.b4-ty@arndb.de> (Arnd Bergmann's message of "Thu, 1 Apr 2021 12:23:29 +0200") References: <20210323130849.2362001-1-arnd@kernel.org> <161727243811.583633.1536328285829233051.b4-ty@arndb.de> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/26 (gnu/linux) X-URL: http://belgarath.falguerolles.org/ Date: Sat, 10 Apr 2021 10:15:15 +0200 Message-ID: <87im4utv1o.fsf@belgarion.home> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > From: Arnd Bergmann > > On Tue, 23 Mar 2021 14:08:27 +0100, Arnd Bergmann wrote: >> The default initializer at the start of the array causes a warning >> when building with W=1: >> >> In file included from arch/arm/mach-pxa/mainstone.c:47: >> arch/arm/mach-pxa/mainstone.h:124:33: error: initialized field overwritten [-Werror=override-init] >> 124 | #define MAINSTONE_IRQ(x) (MAINSTONE_NR_IRQS + (x)) >> | ^ >> arch/arm/mach-pxa/mainstone.h:133:33: note: in expansion of macro 'MAINSTONE_IRQ' >> 133 | #define MAINSTONE_S0_CD_IRQ MAINSTONE_IRQ(9) >> | ^~~~~~~~~~~~~ >> arch/arm/mach-pxa/mainstone.c:506:15: note: in expansion of macro 'MAINSTONE_S0_CD_IRQ' >> 506 | [5] = MAINSTONE_S0_CD_IRQ, >> | ^~~~~~~~~~~~~~~~~~~ >> >> [...] > > Applied to arm/fixes. Too late, but ... Acked-by: Robert Jarzmik Cheers. -- Robert