Arnd Bergmann 820f188659 scsi: aacraid: use timespec64 instead of timeval
aacraid passes the current time to the firmware in one of two ways,
either as year/month/day/... or as 32-bit unsigned seconds.

The first one is broken on 32-bit architectures as it cannot go past
year 2038. Using timespec64 here makes it behave properly on both 32-bit
and 64-bit architectures, and avoids relying on signed integer overflow
to pass times into the second interface.

The interface used in aac_send_hosttime() however is still problematic
in year 2106 when 32-bit seconds overflow. Hopefully we don't have to
worry about aacraid by that time.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Dave Carroll <david.carroll@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-11-08 18:08:01 -05:00
..
2017-09-11 13:10:57 -07:00
2017-09-12 13:30:06 -07:00
2017-09-12 20:03:53 -07:00
2017-09-10 20:40:00 -07:00
2017-09-12 13:30:06 -07:00
2017-09-05 12:45:03 -07:00
2017-09-07 14:03:05 -07:00
2017-09-03 10:17:53 -07:00
2017-09-07 14:03:05 -07:00
2017-09-07 13:51:13 -07:00
2017-09-07 12:53:14 -07:00
2017-09-07 13:51:13 -07:00
2017-09-07 13:51:13 -07:00
2017-09-09 15:03:24 -07:00
2017-09-07 14:33:13 -07:00
2017-09-05 11:08:17 -07:00
2017-09-12 13:30:06 -07:00
2017-09-10 20:40:00 -07:00
2017-09-07 13:51:13 -07:00
2017-09-08 15:47:43 -07:00
2017-09-09 14:48:21 -07:00
2017-08-29 13:46:35 +02:00
2017-09-12 13:30:06 -07:00
2017-09-11 13:10:57 -07:00
2017-09-12 13:30:06 -07:00
2017-09-05 11:08:17 -07:00
2017-09-08 15:47:43 -07:00
2017-09-08 15:47:43 -07:00
2017-09-07 13:51:13 -07:00
2017-09-08 16:04:50 -07:00
2017-09-11 13:04:32 -07:00
2017-09-07 13:51:13 -07:00
2017-09-09 14:34:38 -07:00
2017-09-10 20:40:00 -07:00
2017-09-13 10:56:00 -07:00
2017-09-10 20:40:00 -07:00
2017-09-05 12:45:03 -07:00
2017-09-09 14:48:21 -07:00
2017-09-05 12:45:03 -07:00
2017-09-12 13:30:06 -07:00
2017-08-30 14:03:42 -06:00
2017-09-07 13:55:16 -07:00
2017-09-07 21:11:05 -07:00
2017-09-07 10:24:21 -07:00