summaryrefslogtreecommitdiff
path: root/drivers/scsi/3w-9xxx.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-10 18:58:26 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-12-05 04:32:53 +0300
commitbc8f91665b3f2fd94b80217e433dc90383e75ae4 (patch)
tree801a19c305b6d0ea10904a9d680cd5ab0d7b623c /drivers/scsi/3w-9xxx.h
parent9c88673f9d855899d640473a411a17f25eff45d8 (diff)
downloadlinux-bc8f91665b3f2fd94b80217e433dc90383e75ae4.tar.xz
scsi: 3ware: use 64-bit times for FW time sync
The calculation of the number of seconds since Sunday 00:00:00 overflows in 2106, meaning that we instead will return the seconds since Wednesday 06:28:16 afterwards. Using 64-bit time stamps avoids this slight inconsistency, and the deprecated do_gettimeofday(), replacing it with the simpler ktime_get_real_seconds(). Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Adam Radford <aradford@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/3w-9xxx.h')
0 files changed, 0 insertions, 0 deletions