Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753373AbcDOCst (ORCPT ); Thu, 14 Apr 2016 22:48:49 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:16490 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751906AbcDOCss (ORCPT ); Thu, 14 Apr 2016 22:48:48 -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, suganath-prabu.subramani@avagotech.com, Chaitra P B , Sreekanth Reddy Subject: Re: [PATCH] mpt3sas: Remove usage of 'struct timeval' From: "Martin K. Petersen" Organization: Oracle Corporation References: <20160413070140.GA35235@localhost> Date: Thu, 14 Apr 2016 22:48:24 -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: 496 Lines: 12 >>>>> "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). Broadcom folks, please review. -- Martin K. Petersen Oracle Linux Engineering