RE: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-18 Thread David Laight
From: Will Deacon > Sent: 18 November 2015 12:28 > On Wed, Nov 18, 2015 at 12:11:25PM +, David Laight wrote: > > From: Will Deacon > > > Sent: 18 November 2015 10:14 > > > On Tue, Nov 17, 2015 at 08:17:17PM +0100, Arnd Bergmann wrote: > > > > On Tuesday 17 November 2015 17:12:37 Will Deacon

RE: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-18 Thread David Laight
From: Will Deacon [mailto:will.dea...@arm.com] > Sent: 18 November 2015 15:37 > On Wed, Nov 18, 2015 at 03:21:19PM +, David Laight wrote: > > From: Will Deacon > > > Sent: 18 November 2015 12:28 > > > On Wed, Nov 18, 2015 at 12:11:25PM +, David Laight wrote: > > > > From: Will Deacon > > >

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-18 Thread Will Deacon
On Wed, Nov 18, 2015 at 03:21:19PM +, David Laight wrote: > From: Will Deacon > > Sent: 18 November 2015 12:28 > > On Wed, Nov 18, 2015 at 12:11:25PM +, David Laight wrote: > > > From: Will Deacon > > > > > > > >

RE: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-18 Thread David Laight
From: Will Deacon > Sent: 18 November 2015 10:14 > On Tue, Nov 17, 2015 at 08:17:17PM +0100, Arnd Bergmann wrote: > > On Tuesday 17 November 2015 17:12:37 Will Deacon wrote: > > > On Tue, Nov 17, 2015 at 06:03:40PM +0100, Arnd Bergmann wrote: > > > > On Tuesday 17 November 2015 16:44:53 Will

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-18 Thread Will Deacon
On Wed, Nov 18, 2015 at 12:11:25PM +, David Laight wrote: > From: Will Deacon > > Sent: 18 November 2015 10:14 > > On Tue, Nov 17, 2015 at 08:17:17PM +0100, Arnd Bergmann wrote: > > > On Tuesday 17 November 2015 17:12:37 Will Deacon wrote: > > > > On Tue, Nov 17, 2015 at 06:03:40PM +0100, Arnd

RE: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-18 Thread David Laight
From: Arnd Bergmann > Sent: 17 November 2015 19:17 > On Tuesday 17 November 2015 17:12:37 Will Deacon wrote: > > On Tue, Nov 17, 2015 at 06:03:40PM +0100, Arnd Bergmann wrote: > > > On Tuesday 17 November 2015 16:44:53 Will Deacon wrote: > > > > > 8< > > > > > Subject: ARM64: make

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-18 Thread Will Deacon
On Tue, Nov 17, 2015 at 08:17:17PM +0100, Arnd Bergmann wrote: > On Tuesday 17 November 2015 17:12:37 Will Deacon wrote: > > On Tue, Nov 17, 2015 at 06:03:40PM +0100, Arnd Bergmann wrote: > > > On Tuesday 17 November 2015 16:44:53 Will Deacon wrote: > > > > > 8< > > > > > Subject: ARM64: make

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-17 Thread Eric Dumazet
On Tue, 2015-11-17 at 16:44 +, Will Deacon wrote: > Do you know the usage in the kernel causing this warning? /** * sk_state_load - read sk->sk_state for lockless contexts * @sk: socket pointer * * Paired with sk_state_store(). Used in places we do not hold socket lock : *

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-17 Thread Will Deacon
On Tue, Nov 17, 2015 at 06:03:40PM +0100, Arnd Bergmann wrote: > On Tuesday 17 November 2015 16:44:53 Will Deacon wrote: > > > 8< > > > Subject: ARM64: make smp_load_acquire() work with const arguments > > > > > > smp_load_acquire() uses typeof() to declare a local variable for > > >

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-17 Thread Arnd Bergmann
On Tuesday 17 November 2015 16:44:53 Will Deacon wrote: > > 8< > > Subject: ARM64: make smp_load_acquire() work with const arguments > > > > smp_load_acquire() uses typeof() to declare a local variable for temporarily > > storing the output of the memory access. This fails when the argument

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-17 Thread Will Deacon
Hi Arnd, On Tue, Nov 17, 2015 at 09:57:30AM +0100, Arnd Bergmann wrote: > On Monday 16 November 2015 19:05:05 Olof's autobuilder wrote: > > > > Errors: > > > > arm64.allmodconfig: > > arch/arm64/include/asm/barrier.h:71:3: error: read-only variable '___p1' > > used as 'asm' output > >

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-17 Thread Arnd Bergmann
On Tuesday 17 November 2015 17:12:37 Will Deacon wrote: > On Tue, Nov 17, 2015 at 06:03:40PM +0100, Arnd Bergmann wrote: > > On Tuesday 17 November 2015 16:44:53 Will Deacon wrote: > > > > 8< > > > > Subject: ARM64: make smp_load_acquire() work with const arguments > > > > > > > >

Re: next build: 235 warnings 3 failures (next/next-20151117)

2015-11-17 Thread Arnd Bergmann
On Monday 16 November 2015 19:05:05 Olof's autobuilder wrote: > > Errors: > > arm64.allmodconfig: > arch/arm64/include/asm/barrier.h:71:3: error: read-only variable '___p1' used > as 'asm' output > arch/arm64/include/asm/barrier.h:75:3: error: read-only variable '___p1' used > as 'asm'