public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Tina Ruchandani <ruchandani.tina@gmail.com>
Cc: MPT-FusionLinux.pdl@broadcom.com, Arnd Bergmann <arnd@arndb.de>,
	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 <chaitra.basappa@broadcom.com>,
	Sreekanth Reddy <sreekanth.reddy@avagotech.com>
Subject: Re: [PATCH] mpt3sas: Remove usage of 'struct timeval'
Date: Thu, 14 Apr 2016 22:48:24 -0400	[thread overview]
Message-ID: <yq1inzjsi2v.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <20160413070140.GA35235@localhost> (Tina Ruchandani's message of "Wed, 13 Apr 2016 00:01:40 -0700")

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

  reply	other threads:[~2016-04-15  2:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13  7:01 [PATCH] mpt3sas: Remove usage of 'struct timeval' Tina Ruchandani
2016-04-15  2:48 ` Martin K. Petersen [this message]
2016-04-15 17:43   ` Sathya Prakash Veerichetty
2016-04-15  7:16 ` Johannes Thumshirn
2016-04-15 20:20 ` Martin K. Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq1inzjsi2v.fsf@sermon.lab.mkp.net \
    --to=martin.petersen@oracle.com \
    --cc=MPT-FusionLinux.pdl@broadcom.com \
    --cc=arnd@arndb.de \
    --cc=chaitra.basappa@broadcom.com \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ruchandani.tina@gmail.com \
    --cc=sreekanth.reddy@avagotech.com \
    --cc=suganath-prabu.subramani@avagotech.com \
    --cc=y2038@lists.linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox