diff options
author | 2016-01-25 23:00:20 +0100 | |
---|---|---|
committer | 2016-04-15 16:53:18 -0400 | |
commit | 5ea33eb573c9858cdebfb69626cc8621c7468f9e (patch) | |
tree | 31b738360f368d363ca3da9a87258eb14a8f0c4c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hisi_sas: update driver version to 1.4 (diff) | |
download | wireguard-linux-5ea33eb573c9858cdebfb69626cc8621c7468f9e.tar.xz wireguard-linux-5ea33eb573c9858cdebfb69626cc8621c7468f9e.zip |
qla2xxx: Remove use of 'struct timeval'
struct register_host_info stores a 64-bit UTC system time timestamp.
This patch removes the use of 'struct timeval' to obtain that timestamp
as its tv_sec value will overflow on 32-bit systems in year 2038 beyond.
The patch uses ktime_get_real_seconds() which returns a 64-bit seconds value.
Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions