diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-01-17 17:48:51 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-01-23 04:03:57 +0300 |
commit | b45093dd76bed88ac72330c08338ea329c94d20c (patch) | |
tree | c8579fe778573906b183376265e9399603f6e2b1 /tools/perf/scripts/python | |
parent | 22807aa812a65a7b859187e0fc6cfa0802a858c4 (diff) | |
download | linux-b45093dd76bed88ac72330c08338ea329c94d20c.tar.xz |
scsi: megaraid: use ktime_get_real for firmware time
do_gettimeofday() overflows in 2038 on 32-bit architectures and is
deprecated, so convert this driver to call ktime_get_real()
directly. This also simplifies the calculation.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions