summaryrefslogtreecommitdiff
path: root/drivers/scsi/ses.c
diff options
context:
space:
mode:
authorTina Ruchandani <ruchandani.tina@gmail.com>2016-04-13 07:01:40 (GMT)
committerMartin K. Petersen <martin.petersen@oracle.com>2016-04-15 20:53:19 (GMT)
commit23409bd4a8b051e28d0106c7a83f362617452098 (patch)
tree4b10f1613ef01a32340ebf0c3fbb2862b1cceea8 /drivers/scsi/ses.c
parente83596b41cb9729837468a1c14de56a5529a2aa6 (diff)
downloadlinux-23409bd4a8b051e28d0106c7a83f362617452098.tar.xz
mpt3sas: Remove usage of 'struct timeval'
'struct timeval' will have its tv_sec value overflow on 32-bit systems in year 2038 and beyond. This patch replaces the use of struct timeval for computing mpi_request.TimeStamp, and instead uses ktime_t which provides 64-bit seconds value. The timestamp computed remains unaffected (milliseconds since Unix epoch). Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Acked-by: Sathya Prakash <sathya.prakash@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ses.c')
0 files changed, 0 insertions, 0 deletions