Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751005AbcDOUVW (ORCPT ); Fri, 15 Apr 2016 16:21:22 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:47978 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750773AbcDOUVU (ORCPT ); Fri, 15 Apr 2016 16:21:20 -0400 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, Sathya Prakash , Johannes Thumshirn Subject: Re: [PATCH] mpt3sas: Remove usage of 'struct timeval' From: "Martin K. Petersen" Organization: Oracle Corporation References: <20160413070140.GA35235@localhost> Date: Fri, 15 Apr 2016 16:20:58 -0400 In-Reply-To: <20160413070140.GA35235@localhost> (Tina Ruchandani's message of "Wed, 13 Apr 2016 00:01:40 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 504 Lines: 14 >>>>> "Tina" == Tina Ruchandani 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). Applied to 4.7/scsi-queue. Thank you! -- Martin K. Petersen Oracle Linux Engineering