Messages in this thread | | | From | Johannes Thumshirn <> | Subject | Re: [PATCH] mpt3sas: Remove usage of 'struct timeval' | Date | Fri, 15 Apr 2016 09:16:18 +0200 |
| |
On Mittwoch, 13. April 2016 00:01:40 CEST Tina Ruchandani wrote: > '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>
-- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
| |