From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([212.227.126.130]:53997 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932332AbaGQLZU (ORCPT ); Thu, 17 Jul 2014 07:25:20 -0400 From: Arnd Bergmann To: Richard Weinberger Cc: Chen Gang , Guenter Roeck , Lars-Peter Clausen , Greg Kroah-Hartman , dmitry.torokhov@gmail.com, linux-iio@vger.kernel.org, Benjamin Herrenschmidt , teg@jklm.no, Thierry Reding , Lennox Wu , Marek Vasut , Liqin Chen , msalter@redhat.com, linux-pwm@vger.kernel.org, devel@driverdev.osuosl.org, linux-watchdog@vger.kernel.org, linux-input@vger.kernel.org, "linux-kernel@vger.kernel.org" , knaack.h@gmx.de, Martin Schwidefsky , Mischa.Jonker@synopsys.com, jic23@kernel.org, Geert Uytterhoeven Subject: Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource' Date: Thu, 17 Jul 2014 13:24:46 +0200 Message-ID: <5581945.I7Fc5qufcE@wuerfel> In-Reply-To: <53C7AC6F.1070001@nod.at> References: <201407130545.23004.marex@denx.de> <8453588.VVyODXRso0@wuerfel> <53C7AC6F.1070001@nod.at> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org On Thursday 17 July 2014 12:58:55 Richard Weinberger wrote: > > This is what I got upon trying earlier. I have not attempted to look into > > why this is happening. Note this is on linux-next from yesterday, > > not mainline as I incorrectly stated above. > > > > In file included from ../arch/um/include/asm/fixmap.h:58:0, > > from ../arch/um/include/asm/pgtable.h:11, > > from ../include/linux/mm.h:51, > > from ../kernel/uid16.c:6: > > ../include/asm-generic/fixmap.h: In function 'fix_to_virt': > > ../include/asm-generic/fixmap.h:31:2: error: size of unnamed array is negative > > BUILD_BUG_ON(idx >= __end_of_fixed_addresses); > > So, this is next-20140716? > I don't see the fixmap issue you're reporting, also not on the most recent next. Sorry, nevermind. I had a workaround for a gcc-4.9 bug applied that turned off optimization for uid16.c, which fixed the build for ARM for me but happened to break x86 including uml. Without that patch, I don't see this problem. Arnd