Arnd Bergmann fe7f4e5d11 scsi: scsi_transport_fc: use 64-bit timestamps consistently
The get_seconds() helper returns an 'unsigned long' value, which can
overflow on 32-bit architectures. Since the interface we pass it into
already uses a 64-bit type, we can just use ktime_get_real_seconds()
instead.

While we generally prefer local timestamps in CLOCK_MONOTONIC format
(ktime_get_seconds), this keeps using the CLOCK_REALTIME version in order
to maintain compatibility with existing code.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-06-26 11:58:07 -04:00
..
2018-06-14 16:35:32 +09:00
2018-06-12 16:19:22 -07:00
2018-06-19 22:02:25 -04:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-10 13:01:12 -07:00
2018-06-12 16:19:22 -07:00
2018-06-10 13:01:12 -07:00
2018-06-12 16:19:22 -07:00
2017-12-04 20:32:53 -05:00
2018-06-19 22:02:25 -04:00
2018-05-01 23:31:40 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-12 16:19:22 -07:00
2017-08-24 22:29:06 -04:00
2018-05-18 12:03:51 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-14 16:35:32 +09:00
2017-08-25 17:21:10 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-12 16:19:22 -07:00
2018-06-10 13:01:12 -07:00
2018-06-10 13:01:12 -07:00
2017-11-14 16:23:44 -08:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-10 13:01:12 -07:00
2018-06-10 13:01:12 -07:00
2017-11-14 16:23:44 -08:00
2017-04-13 13:58:20 -04:00
2018-06-10 13:01:12 -07:00
2018-06-04 07:58:06 -07:00
2018-06-19 22:02:25 -04:00
2018-06-14 16:35:32 +09:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2017-04-26 18:32:29 -04:00
2018-06-10 13:01:12 -07:00
2018-05-01 23:30:12 -04:00