Re: [Y2038] [PATCH] prism54: isl_38xx: Replace 'struct timeval'

2016-03-22 Thread Arnd Bergmann
On Tuesday 22 March 2016 02:55:22 Tina Ruchandani wrote: > Truly fixing this would > require changing the debug print to print more than 8 digits and using > a different specifier from %li. Why not just change it to %lli, and a cast to s64? I don't think the format string or the number of digits

[PATCH] prism54: isl_38xx: Replace 'struct timeval'

2016-03-22 Thread Tina Ruchandani
'struct timeval' uses a 32-bit seconds field which will overflow in year 2038 and beyond. This patch is part of a larger effort to remove all instances of 'struct timeval' from the kernel and replace them with 64-bit timekeeping variables. The correctness of the code isn't affected by this patch -