diff options
| author | Arnd Bergmann <[email protected]> | 2017-11-10 16:37:13 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-12-04 20:32:52 -0500 |
| commit | 0e9680fa13a084aa3dd8f9f2babdee28c12ec9dd (patch) | |
| tree | 25c3765678b3c2f691ba8bb2d372fed4b41532f3 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | aa22a52e186f62da58f51724398debcb1726abe0 (diff) | |
scsi: bfa: replace bfa_get_log_time() with ktime_get_real_seconds()
The bfa_get_log_time() returns a 64-bit timestamp that does not suffer
from the y2038 overflow on 64-bit systems. However, on 32-bit
architectures the timestamp will jump from 0x000000007fffffff to
0xffffffff80000000 in y2038 and produce wrong results.
The ktime_get_real_seconds() function does the same thing as
bfa_get_log_time() without that problem, so we can simply remove the
former use ktime_get_real_seconds() instead.
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Anil Gurumurthy <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions