Re: [PATCH 1/2] can: peak_usb: remove some 'struct timeval' users

2017-11-06 Thread Marc Kleine-Budde
On 11/03/2017 05:31 PM, Arnd Bergmann wrote: > We want to remove 'struct timeval' and related interfaces since this is > generally not safe for use beyond 2038. > > For peak_usb, we can simplify the internal interface by using ktime_t > directly. This should not change any behavior, but it avoids

[PATCH 1/2] can: peak_usb: remove some 'struct timeval' users

2017-11-03 Thread Arnd Bergmann
We want to remove 'struct timeval' and related interfaces since this is generally not safe for use beyond 2038. For peak_usb, we can simplify the internal interface by using ktime_t directly. This should not change any behavior, but it avoids a few conversions. Signed-off-by: Arnd Bergmann ---