Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934767AbcCOQTP (ORCPT ); Tue, 15 Mar 2016 12:19:15 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:32941 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934698AbcCOQTM (ORCPT ); Tue, 15 Mar 2016 12:19:12 -0400 Date: Tue, 15 Mar 2016 16:19:02 +0000 From: Sudip Mukherjee To: Stephen Rothwell Cc: Benjamin LaHaise , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Ellerman , Benjamin Herrenschmidt , linuxppc-dev@lists.ozlabs.org, Al Viro , Christoph Hellwig Subject: Re: linux-next: build failure after merge of the aio tree Message-ID: <20160315161901.GA2713@sudip-laptop> References: <20160315174634.6766cd88@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160315174634.6766cd88@canb.auug.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 26 On Tue, Mar 15, 2016 at 05:46:34PM +1100, Stephen Rothwell wrote: > Hi Benjamin, > > After merging the aio tree, today's linux-next build (powerpc > ppc44x_defconfig) failed like this: > > fs/built-in.o: In function `aio_thread_op_foo_at': > aio.c:(.text+0x4dab4): undefined reference to `__get_user_bad' > aio.c:(.text+0x4daec): undefined reference to `__get_user_bad' > > Caused by commit > > 150a0b4905f1 ("aio: add support for async openat()") > > despite commit > > d2f7a973e11e ("aio: don't use __get_user() for 64 bit values") > > This is due to a bug in the powerpc __get_user_check() macro (the return > value is defined to be "unsigned long" which is only 32 bits on a 32 > bit platform). m68k allmodconfig and all defs of m32r fails while building next-20160315. regards sudip