Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752580AbcDORnO (ORCPT ); Fri, 15 Apr 2016 13:43:14 -0400 Received: from mail-ig0-f171.google.com ([209.85.213.171]:36031 "EHLO mail-ig0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752005AbcDORnM (ORCPT ); Fri, 15 Apr 2016 13:43:12 -0400 From: Sathya Prakash Veerichetty References: <20160413070140.GA35235@localhost> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGG8Ndbbhnjiw9ARZos22nDZAnTDwI0BMiLoA76iiA= Date: Fri, 15 Apr 2016 11:43:10 -0600 Message-ID: <624c2d8b5746488ce5587db59b613c51@mail.gmail.com> Subject: RE: [PATCH] mpt3sas: Remove usage of 'struct timeval' 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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1092 Lines: 30 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