diff options
author | Tina Ruchandani <ruchandani.tina@gmail.com> | 2016-04-13 10:01:40 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-04-15 23:53:19 +0300 |
commit | 23409bd4a8b051e28d0106c7a83f362617452098 (patch) | |
tree | 4b10f1613ef01a32340ebf0c3fbb2862b1cceea8 /drivers/scsi/megaraid/megaraid_sas_fusion.h | |
parent | e83596b41cb9729837468a1c14de56a5529a2aa6 (diff) | |
download | linux-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/megaraid/megaraid_sas_fusion.h')
0 files changed, 0 insertions, 0 deletions