diff options
author | Tina Ruchandani <[email protected]> | 2016-04-13 00:01:40 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2016-04-15 16:53:19 -0400 |
commit | 23409bd4a8b051e28d0106c7a83f362617452098 (patch) | |
tree | 4b10f1613ef01a32340ebf0c3fbb2862b1cceea8 /scripts/gdb/linux/utils.py | |
parent | e83596b41cb9729837468a1c14de56a5529a2aa6 (diff) |
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 <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Acked-by: Sathya Prakash <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions