From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sathya Prakash Veerichetty Subject: RE: [PATCH] mpt3sas: Remove usage of 'struct timeval' Date: Fri, 15 Apr 2016 11:43:10 -0600 Message-ID: <624c2d8b5746488ce5587db59b613c51@mail.gmail.com> References: <20160413070140.GA35235@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-ig0-f175.google.com ([209.85.213.175]:37883 "EHLO mail-ig0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751846AbcDORnM (ORCPT ); Fri, 15 Apr 2016 13:43:12 -0400 Received: by mail-ig0-f175.google.com with SMTP id g8so29286426igr.0 for ; Fri, 15 Apr 2016 10:43:12 -0700 (PDT) In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: "Martin K. Petersen" , Tina Ruchandani Cc: PDL-MPT-FUSIONLINUX , 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 Basappa , Sreekanth Reddy Hi, Please consider this patch as Ack-by: Sathya Prakash Thanks, Sathya -----Original Message----- From: mpt-fusionlinux.pdl@broadcom.com [mailto:mpt-fusionlinux.pdl@broadcom.com] On Behalf Of Martin K. Petersen Sent: Thursday, April 14, 2016 8:48 PM 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' >>>>> "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