diff options
| author | Arnd Bergmann <[email protected]> | 2017-11-06 14:55:36 +0100 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2017-11-08 14:33:05 +0200 |
| commit | 3c92d5517af8eeab81da3aee4fc14faa198bbb8b (patch) | |
| tree | dcd88b66e407eed762fb70148c49662561c63c35 /lib/test_fortify/write_overflow-strcpy.c | |
| parent | 3f2a162fab15aee243178b5308bb5d1206fc4043 (diff) | |
rtlwifi: use ktime_get_real_seconds() for suspend time
do_gettimeofday() is deprecated and slower than necessary for the purpose
of reading the seconds. This changes rtl_op_suspend/resume to use
ktime_get_real_seconds() instead, which is simpler and avoids confusion
about whether it is y2038-safe or not.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions