[Y2038] [PATCH] sparc: compat: allow including asm/compat.h for 32-bit

2018-04-11 Thread Arnd Bergmann
We have several files on sparc that include linux/compat.h and expect asm/compat.h not to be included, otherwise we get a build failure. Since we need to include asm/compat.h for compat time_t handling on all 32-bit architectures now, this hides some portions of asm/compat.h in order to let the re

Re: [Y2038] [PATCH] sparc: compat: allow including asm/compat.h for 32-bit

2018-04-11 Thread Eric W. Biederman
Arnd Bergmann writes: > We have several files on sparc that include linux/compat.h and expect > asm/compat.h not to be included, otherwise we get a build failure. Should this say: "We have several files on sparc that include linux/compat.h and expect asm/compat.h not be included when !CONFIG_COM

Re: [Y2038] [PATCH] sparc: compat: allow including asm/compat.h for 32-bit

2018-04-11 Thread Arnd Bergmann
On Wed, Apr 11, 2018 at 9:32 PM, Eric W. Biederman wrote: > Arnd Bergmann writes: > >> We have several files on sparc that include linux/compat.h and expect >> asm/compat.h not to be included, otherwise we get a build failure. > > Should this say: "We have several files on sparc that include > li

Re: [Y2038] [PATCH libevdev] Update struct input_event

2018-04-11 Thread Peter Hutterer
On Mon, Jan 15, 2018 at 04:21:08PM -0800, Deepa Dinamani wrote: > The struct input_event is not y2038 safe. > Update the struct according to the kernel patch: > https://lkml.org/lkml/2018/1/6/324 > > Signed-off-by: Deepa Dinamani this one is now in libevdev as 3c6766c86246c1594096b23e769079e639f