Re: [PATCH 01/20] staging/wilc1000: add struct net_device declaration

2015-11-11 Thread Joe Perches
On Wed, 2015-11-11 at 00:42 +0100, Arnd Bergmann wrote: > A recent cleanup added a reference to struct net_device, but > that structure is not always visible in the context of the > declaration, so we may get a compile-time error: > > In file included from wilc1000/host_interface.c:5:0: >

Re: [PATCH 01/20] staging/wilc1000: add struct net_device declaration

2015-11-10 Thread Arnd Bergmann
On Tuesday 10 November 2015 15:47:02 Joe Perches wrote: > On Wed, 2015-11-11 at 00:42 +0100, Arnd Bergmann wrote: > > A recent cleanup added a reference to struct net_device, but > > that structure is not always visible in the context of the > > declaration, so we may get a compile-time error: > >

[PATCH 01/20] staging/wilc1000: add struct net_device declaration

2015-11-10 Thread Arnd Bergmann
A recent cleanup added a reference to struct net_device, but that structure is not always visible in the context of the declaration, so we may get a compile-time error: In file included from wilc1000/host_interface.c:5:0: wilc1000/host_interface.h:705:46: warning: 'struct net_device' declared

Re: [PATCH 01/20] staging/wilc1000: add struct net_device declaration

2015-11-10 Thread Greg Kroah-Hartman
On Wed, Nov 11, 2015 at 12:42:21AM +0100, Arnd Bergmann wrote: > A recent cleanup added a reference to struct net_device, but > that structure is not always visible in the context of the > declaration, so we may get a compile-time error: > > In file included from wilc1000/host_interface.c:5:0: >

Re: [PATCH 01/20] staging/wilc1000: add struct net_device declaration

2015-11-10 Thread Arnd Bergmann
On Tuesday 10 November 2015 16:02:48 Greg Kroah-Hartman wrote: > On Wed, Nov 11, 2015 at 12:42:21AM +0100, Arnd Bergmann wrote: > I think this is already fixed in my staging-testing branch, right? Ah right. I only got it with some rare randconfig builds, and assumed the problem was still there

Re: [PATCH 01/20] staging/wilc1000: add struct net_device declaration

2015-11-10 Thread Greg Kroah-Hartman
On Wed, Nov 11, 2015 at 01:13:33AM +0100, Arnd Bergmann wrote: > On Tuesday 10 November 2015 16:02:48 Greg Kroah-Hartman wrote: > > On Wed, Nov 11, 2015 at 12:42:21AM +0100, Arnd Bergmann wrote: > > I think this is already fixed in my staging-testing branch, right? > > Ah right. I only got it