[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1561298.UGYTUHuOD6@c203>
Date: Fri, 15 Apr 2016 09:16:18 +0200
From: Johannes Thumshirn <jthumshirn@...e.de>
To: Tina Ruchandani <ruchandani.tina@...il.com>
Cc: MPT-FusionLinux.pdl@...adcom.com, Arnd Bergmann <arnd@...db.de>,
y2038@...ts.linaro.org, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, jejb@...ux.vnet.ibm.com
Subject: Re: [PATCH] mpt3sas: Remove usage of 'struct timeval'
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@...il.com>
> Reviewed-by: Arnd Bergmann <arnd@...db.de>
> ---
Reviewed-by: Johannes Thumshirn <jthumshirn@...e.de>
--
Johannes Thumshirn Storage
jthumshirn@...e.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
Powered by blists - more mailing lists