Re: [PATCH] sh: include linux/time_types.h for sockios

2020-05-20 Thread Geert Uytterhoeven
Hi Arnd, On Wed, May 20, 2020 at 4:46 PM Arnd Bergmann wrote: > On Wed, May 20, 2020 at 1:47 PM Geert Uytterhoeven > wrote: > > On Wed, May 20, 2020 at 10:32 AM Arnd Bergmann wrote: > > > On Wed, May 20, 2020 at 3:10 AM Andrew Morton > > > wrote: > > > > On Tue, 19 May 2020 15:13:13 +0200

Re: [PATCH] sh: include linux/time_types.h for sockios

2020-05-20 Thread Arnd Bergmann
On Wed, May 20, 2020 at 1:47 PM Geert Uytterhoeven wrote: > On Wed, May 20, 2020 at 10:32 AM Arnd Bergmann wrote: > > On Wed, May 20, 2020 at 3:10 AM Andrew Morton > > wrote: > > > On Tue, 19 May 2020 15:13:13 +0200 Arnd Bergmann wrote: > > > > Using the socket ioctls on arch/sh (and only

Re: [PATCH] sh: include linux/time_types.h for sockios

2020-05-20 Thread Geert Uytterhoeven
Hi Arnd, Andrew, On Wed, May 20, 2020 at 10:32 AM Arnd Bergmann wrote: > On Wed, May 20, 2020 at 3:10 AM Andrew Morton > wrote: > > On Tue, 19 May 2020 15:13:13 +0200 Arnd Bergmann wrote: > > > Using the socket ioctls on arch/sh (and only there) causes build > > > time problems when

Re: [PATCH] sh: include linux/time_types.h for sockios

2020-05-20 Thread Arnd Bergmann
On Wed, May 20, 2020 at 3:10 AM Andrew Morton wrote: > > On Tue, 19 May 2020 15:13:13 +0200 Arnd Bergmann wrote: > > > Using the socket ioctls on arch/sh (and only there) causes build > > time problems when __kernel_old_timeval/__kernel_old_timespec are > > not already visible to the compiler. >

Re: [PATCH] sh: include linux/time_types.h for sockios

2020-05-19 Thread Andrew Morton
On Tue, 19 May 2020 15:13:13 +0200 Arnd Bergmann wrote: > Using the socket ioctls on arch/sh (and only there) causes build > time problems when __kernel_old_timeval/__kernel_old_timespec are > not already visible to the compiler. > > Add an explict include line for the header that defines these

[PATCH] sh: include linux/time_types.h for sockios

2020-05-19 Thread Arnd Bergmann
Using the socket ioctls on arch/sh (and only there) causes build time problems when __kernel_old_timeval/__kernel_old_timespec are not already visible to the compiler. Add an explict include line for the header that defines these structures. Reported-by: John Paul Adrian Glaubitz Tested-by: