Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753078AbcDOHQW (ORCPT ); Fri, 15 Apr 2016 03:16:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:45506 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752523AbcDOHQU convert rfc822-to-8bit (ORCPT ); Fri, 15 Apr 2016 03:16:20 -0400 From: Johannes Thumshirn To: Tina Ruchandani Cc: MPT-FusionLinux.pdl@broadcom.com, Arnd Bergmann , y2038@lists.linaro.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, jejb@linux.vnet.ibm.com Subject: Re: [PATCH] mpt3sas: Remove usage of 'struct timeval' Date: Fri, 15 Apr 2016 09:16:18 +0200 Message-ID: <1561298.UGYTUHuOD6@c203> User-Agent: KMail/5.1.3 (Linux/4.5.0-3-default; KDE/5.20.0; x86_64; ; ) In-Reply-To: <20160413070140.GA35235@localhost> References: <20160413070140.GA35235@localhost> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 959 Lines: 20 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 > Reviewed-by: Arnd Bergmann > --- Reviewed-by: Johannes Thumshirn -- 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