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

- From: Richard Cochran \<richardcochran@gmail.com\>
- Date: 2015-10-01 19:08:38 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/10/4588509
- Thread: https://ratatoskr.run/netdev/2015/09/4586972/t.md

```text
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>
```
