Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1380067

RE: [PATCH] mpt3sas: Remove usage of 'struct timeval'

From Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>
Newsgroups linux.kernel
Subject RE: [PATCH] mpt3sas: Remove usage of 'struct timeval'
Date 2016-04-15 19:50 +0200
Message-ID <rog2u-6M8-21@gated-at.bofh.it> (permalink)
References <rnp7Q-7vE-13@gated-at.bofh.it> <ro1Zw-41K-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,
Please consider this patch as Ack-by: Sathya Prakash
<sathya.prakash@broadcom.com>

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 <ruchandani.tina@gmail.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mpt3sas: Remove usage of 'struct timeval' Tina Ruchandani <ruchandani.tina@gmail.com> - 2016-04-13 11:20 +0200
  Re: [PATCH] mpt3sas: Remove usage of 'struct timeval' "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-04-15 04:50 +0200
    RE: [PATCH] mpt3sas: Remove usage of 'struct timeval' Sathya Prakash Veerichetty <sathya.prakash@broadcom.com> - 2016-04-15 19:50 +0200
  Re: [PATCH] mpt3sas: Remove usage of 'struct timeval' Johannes Thumshirn <jthumshirn@suse.de> - 2016-04-15 09:20 +0200
  Re: [PATCH] mpt3sas: Remove usage of 'struct timeval' "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-04-15 22:30 +0200

csiph-web