diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-09-30 13:26:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-05 03:16:42 -0700 |
commit | 40c9b0796d46523fffb93e46ed8c691456146743 (patch) | |
tree | 94652b8c204eb9a3ee4c0be91f9d40a348a4a910 /security | |
parent | net: stmmac: avoid using timespec (diff) | |
download | linux-dev-40c9b0796d46523fffb93e46ed8c691456146743.tar.xz linux-dev-40c9b0796d46523fffb93e46ed8c691456146743.zip |
net: igb: avoid using timespec
We want to deprecate the use of 'struct timespec' on 32-bit
architectures, as it is will overflow in 2038. The igb
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: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: intel-wired-lan@lists.osuosl.org
Reviewed-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions