linux_dsm_epyc7002/drivers/net/wireless/intel/ipw2x00
Arnd Bergmann 3cade2f3d9 ipw2x00: track time using boottime
The ipw2x00 driver family uses get_seconds() to read the current time
for various purposes. This function is deprecated because of the 32-bit
time_t overflow, and it can cause unexpected behavior when the time
changes due to settimeofday() calls or leap second updates.

In many cases, we want to use monotonic time instead, however ipw2x00
explicitly tracks the time spent in suspend, so this changes the
driver over to use ktime_get_boottime_seconds(), which is slightly
slower, but not used in a fastpath here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stanislav Yakovlev <stas.yakovlev@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-06-27 19:10:25 +03:00
..
ipw2100.c ipw2x00: track time using boottime 2018-06-27 19:10:25 +03:00
ipw2100.h ipw2x00: track time using boottime 2018-06-27 19:10:25 +03:00
ipw2200.c ipw2x00: track time using boottime 2018-06-27 19:10:25 +03:00
ipw2200.h ipw2x00: track time using boottime 2018-06-27 19:10:25 +03:00
ipw.h
Kconfig
libipw_geo.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
libipw_module.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
libipw_rx.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
libipw_tx.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
libipw_wx.c
libipw.h net: use core MTU range checking in wireless drivers 2016-10-20 14:51:08 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00