Re: [PATCH 5/5] net: sfc: avoid using timespec

2015-09-30 Thread Thomas Gleixner
On Mon, 28 Sep 2015, Arnd Bergmann wrote: > The sfc driver internally uses a time format based on 32-bit (unsigned) > seconds and 32-bit nanoseconds. This means it will overflow in 2106, > but the value we pass into it is a signed 32-bit tv_sec that already > overflows in 2038 to a negative value.

[PATCH 5/5] net: sfc: avoid using timespec

2015-09-28 Thread Arnd Bergmann
The sfc driver internally uses a time format based on 32-bit (unsigned) seconds and 32-bit nanoseconds. This means it will overflow in 2106, but the value we pass into it is a signed 32-bit tv_sec that already overflows in 2038 to a negative value. This patch changes the logic to use the lower 32