aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/nlmon.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-09-30 13:26:32 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-05 03:16:41 -0700
commit0a6241551d20e982dba8fc6c88b0a021456ea7b4 (patch)
tree587b621090b707531012613f65248b43ed5c0008 /drivers/net/nlmon.c
parentnet: fec: avoid timespec use (diff)
downloadlinux-dev-0a6241551d20e982dba8fc6c88b0a021456ea7b4.tar.xz
linux-dev-0a6241551d20e982dba8fc6c88b0a021456ea7b4.zip
net: stmmac: avoid using timespec
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> Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com> Cc: Richard Cochran <richardcochran@gmail.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/nlmon.c')
0 files changed, 0 insertions, 0 deletions