Thread (40 messages) flat view 40 messages, 11 authors, 2015-10-09

Re: [PATCH 02/12] net: stmmac: avoid using timespec

From: Richard Cochran <richardcochran@gmail.com>
Date: 2015-10-01 19:08:38
Also in: lkml

On Wed, Sep 30, 2015 at 01:26:32PM +0200, Arnd Bergmann wrote:
We want to deprecate the use of 'struct timespec' on 32-bit
architectures, as it is will overflow in 2038. The stmmac
driver uses it to read the current time, and can simply
be changed to use ktime_get_real_ts64() instead.

Because of hardware limitations, there is still an overflow
in year 2106, which we cannot really avoid, but this documents
the overflow.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help