Re: [PATCH v2] USB: usbmon: Remove timeval usage for timestamp

2015-11-05 Thread Arnd Bergmann
On Thursday 29 October 2015 22:58:28 Tina Ruchandani wrote: > struct timeval' uses 32-bits for its seconds field and will overflow in > the year 2038 and beyond. This patch replaces the usage of 'struct timeval' > in mon_get_timestamp() with timespec64 which uses a 64-bit seconds field > and is y20

[PATCH v2] USB: usbmon: Remove timeval usage for timestamp

2015-10-29 Thread Tina Ruchandani
struct timeval' uses 32-bits for its seconds field and will overflow in the year 2038 and beyond. This patch replaces the usage of 'struct timeval' in mon_get_timestamp() with timespec64 which uses a 64-bit seconds field and is y2038-safe. mon_get_timestamp() truncates the timestamp at 4096 seconds