Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Benjamin LaHaise Newsgroups: linux.kernel Subject: Re: linux-next: build failure after merge of the aio tree Date: Thu, 04 Feb 2016 14:50:03 +0100 Message-ID: References: X-Original-To: Stephen Rothwell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 33 Organization: linux.* mail to news gateway X-Original-Cc: Geert Uytterhoeven , Russell King - ARM Linux , Linux-Next , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" X-Original-Date: Thu, 4 Feb 2016 08:41:42 -0500 X-Original-Message-ID: <20160204134142.GA16315@kvack.org> X-Original-References: <20160112164034.0fe945a7@canb.auug.org.au> <20160112163835.GD347@kvack.org> <20160127134024.0fababf6@canb.auug.org.au> <20160129113056.GP10826@n2100.arm.linux.org.uk> <20160204131959.6695c7bf@canb.auug.org.au> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1326822 On Thu, Feb 04, 2016 at 01:19:59PM +1100, Stephen Rothwell wrote: > Hi Benjamin, > > On Fri, 29 Jan 2016 13:03:39 +0100 Geert Uytterhoeven wrote: > > > > On Fri, Jan 29, 2016 at 12:30 PM, Russell King - ARM Linux > > wrote: > > >> Background: new aio code is adding __get_user() calls referencing 64 > > >> bit quantities (__u64 and __s64). > > > > > > There's lots more architectures which do not support 64-bit get_user() > > > _or_ __get_user(): avr32, blackfin, metag for example, and m68k which > > > has this interesting thing "/* case 8: disabled because gcc-4.1 has a > > > broken typeof \" in its *get_user() implementation. > > > > And if you enable it again, you get lots of "warning: cast to pointer from > > integer of different size", like you mentioned. > > Any thoughts? I am still using the version of tha aio tree from > next-20160111. I am still convinced that this is an architecture issue. Given that 64 bit values work in the *get_user implementations on other architectures, I see no reason there should need to be a workaround for this in common code. -ben > -- > Cheers, > Stephen Rothwell -- "Thought is the essence of where you are now."