RE: [PATCH] mpt3sas: Remove usage of 'struct timeval'
From: Sathya Prakash Veerichetty
Date: Fri Apr 15 2016 - 13:43:16 EST
Hi,
Please consider this patch as Ack-by: Sathya Prakash
<sathya.prakash@xxxxxxxxxxxx>
Thanks,
Sathya
-----Original Message-----
From: mpt-fusionlinux.pdl@xxxxxxxxxxxx
[mailto:mpt-fusionlinux.pdl@xxxxxxxxxxxx] On Behalf Of Martin K. Petersen
Sent: Thursday, April 14, 2016 8:48 PM
To: Tina Ruchandani
Cc: MPT-FusionLinux.pdl@xxxxxxxxxxxx; Arnd Bergmann;
y2038@xxxxxxxxxxxxxxxx; linux-scsi@xxxxxxxxxxxxxxx;
linux-kernel@xxxxxxxxxxxxxxx; jejb@xxxxxxxxxxxxxxxxxx;
suganath-prabu.subramani@xxxxxxxxxxxxx; Chaitra P B; Sreekanth Reddy
Subject: Re: [PATCH] mpt3sas: Remove usage of 'struct timeval'
>>>>> "Tina" == Tina Ruchandani <ruchandani.tina@xxxxxxxxx> writes:
Tina> 'struct timeval' will have its tv_sec value overflow on 32-bit
Tina> systems in year 2038 and beyond. This patch replaces the use of
Tina> struct timeval for computing mpi_request.TimeStamp, and instead
Tina> uses ktime_t which provides 64-bit seconds value. The timestamp
Tina> computed remains unaffected (milliseconds since Unix epoch).
Broadcom folks, please review.
--
Martin K. Petersen Oracle Linux Engineering