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


Groups > linux.kernel > #1380238

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

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mpt3sas: Remove usage of 'struct timeval'
Date 2016-04-15 22:30 +0200
Message-ID <roixl-pK-31@gated-at.bofh.it> (permalink)
References <rnp7Q-7vE-13@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "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).

Applied to 4.7/scsi-queue.

Thank you!

-- 
Martin K. Petersen	Oracle Linux Engineering

Back to linux.kernel | Previous | NextPrevious 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