From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752776AbbLIV2E (ORCPT ); Wed, 9 Dec 2015 16:28:04 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:63709 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980AbbLIV2B (ORCPT ); Wed, 9 Dec 2015 16:28:01 -0500 From: Arnd Bergmann To: Robert Jarzmik Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Daniel Mack , Haojian Zhuang Subject: Re: [PATCH] ARM: pxa: mark ezx structures as __maybe_unused Date: Wed, 09 Dec 2015 22:27:32 +0100 Message-ID: <1880182.PirFZsblMo@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <8737vbl595.fsf@belgarion.home> References: <7455848.ygDvrz6r6S@wuerfel> <8737vbl595.fsf@belgarion.home> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:Bd6scTB/kP6I/BoqttQK8T8xM+VvXFN97FLi9hI7sSZLv5zfBF6 h6tN0/lq7/E4sxtSJe3uce1NnQI7+1gO/3WdxbWjm7A7ElBVWXFlXKMuS+YbLt5K18UH6a8 ZyXxPxGyyPAOHERPELsLetdCQ3CXrqH8qa4Wtrtj2n9MfW68Y8UWbjNrFms7gh/+u6Q70qb hcmYACQWufN/hkmxXlQhQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:Axc7Cagd5uk=:Sf74UaWD+b8EI5/SYYQHZb MMGZAYF+fmi3w3bxlu9AyIAGajOxaAvtWTwA9Go8XUil3LJyHFY4dJ+eo4iT/D21HP812+8pr 5xR7Z4hNkqrhKMdbI/IsLCBPPeAMNg6PYdCeq8rPgGi5B80XkUBPtfN2HbBHqp5/FA4SM7FE+ XUBOa9VVlWzVd6/h88YCOLPk+XUsNDi9PdFpih49j2zc2ZU2tUjZJBFGMPSHsg3a9v2UbT75E A4uhLBbQRmqx7At/uoi2lqLUP6Lc8HNerG9UjdeNKVTPk99wl19WYq6j+AJK/WMtxwvpTNDoC TO0yb7SkxhqktCSh+iY376WGaA4s10iG64BhXY7PmKeam/SVs2vvRkIwMdml1WvvslKoK6H0h qlnI9NfFsRT1jK8s49cHz8YyccGgGzMTUCcmwtp3BFiMXypv6kY88oOElGnsDcYzprbyexALf GMFOYCtpoPyAKdGlmwEuiFPE7eMWg0RroQGuggu3rDsq7bufJq79EezQK9EaGJTw6WXbW1Rpf hNaFpXX1/L979ljd5Wkip+l0g6RQYHPHEWu2qE7XJkmEGS7zcN8/xKPkonqtErv7W5mOt8CRS j4rUBwePOVWAZAmo6Orx2cTjYV9Gw6AK2/tpYrCjqlSyiJIUOABqlSgygVJQiLSqdXNFjvyt3 ilxBJLxKc5RI+F24ulv8TH94hsy6qV1Gf1XJ0QcjoQWWlGKQjW0oD77/d5uChigug9BmbrAp2 eZtUl6ZXflVgohAm Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 09 December 2015 21:46:30 Robert Jarzmik wrote: > Arnd Bergmann writes: > > > The ezx platform contains multiple machine descriptors, but not all > > of them use all of the data structures, and it's possible to disable > > all of the machines, which produces some harmless warnings: > > > > mach-pxa/ezx.c:53:26: warning: 'ezx_pwm_lookup' defined but not used [-Wunused-variable] > > mach-pxa/ezx.c:86:31: warning: 'ezx_fb_info_1' defined but not used [-Wunused-variable] > > mach-pxa/ezx.c:107:31: warning: 'ezx_fb_info_2' defined but not used [-Wunused-variable] > > mach-pxa/ezx.c:113:32: warning: 'ezx_devices' defined but not used [-Wunused-variable] > > mach-pxa/ezx.c:117:22: warning: 'ezx_pin_config' defined but not used [-Wunused-variable] > > > > This marks all those structures as __maybe_unused to avoid the warnings. > > Obviously a configuration that contains the ezx platform but no specific > > model is a bit silly, but it should not cause compile-time warnings. > > > > Signed-off-by: Arnd Bergmann > Acked-by: Robert Jarzmik > > I think you'll take that through your tree, as I'm passing the v4.5 pull. If you > want me to take them, just tell me, but I think v4.5 is already prepared on your > side as I've seen a mail from Boris talking about pxa patches going through mtd > tree for v4.5. I'll apply them directly, thanks for taking a look! I'm also aware of Boris patches and don't expect a conflict here but will resolve it in arm-soc otherwise. Arnd