From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann 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> References: <201407130545.23004.marex@denx.de> <8453588.VVyODXRso0@wuerfel> <53C7AC6F.1070001@nod.at> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53C7AC6F.1070001@nod.at> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: driverdev-devel-bounces@linuxdriverproject.org To: Richard Weinberger Cc: linux-iio@vger.kernel.org, Benjamin Herrenschmidt , teg@jklm.no, Thierry Reding , Lennox Wu , linux-watchdog@vger.kernel.org, Marek Vasut , Liqin Chen , Lars-Peter Clausen , Geert Uytterhoeven , msalter@redhat.com, Guenter Roeck , linux-pwm@vger.kernel.org, devel@driverdev.osuosl.org, Chen Gang , linux-input@vger.kernel.org, Greg Kroah-Hartman , dmitry.torokhov@gmail.com, "linux-kernel@vger.kernel.org" , knaack.h@gmx.de, Martin Schwidefsky , Mischa.Jonker@synopsys.com, jic23@kernel.org List-Id: linux-input@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