From: Arnd Bergmann <arnd@arndb.de>
To: Tina Ruchandani <ruchandani.tina@gmail.com>
Cc: linux-scsi@vger.kernel.org,
"James E.J. Bottomley" <JBottomley@parallels.com>,
Sudarsana Kalluru <sudarsana.kalluru@qlogic.com>,
Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Subject: Re: [PATCH v2] [SCSI] bfa: Replace bfa_get_log_time()
Date: Wed, 25 Feb 2015 11:41:42 +0100 [thread overview]
Message-ID: <8211611.LIRTX0Puvt@wuerfel> (raw)
In-Reply-To: <20150225021439.GA2819@tinar>
On Wednesday 25 February 2015 07:44:39 Tina Ruchandani wrote:
> struct timeval will have its tv_sec field overflow on 32-bit systems
> in year 2038 and beyond. This patch removes bfa_get_log_time which
> uses struct timeval, and instead replaces calls to it with
> calls to ktime_get_real_seconds() which returns 64-bit wall-clock
> seconds.
>
> Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
> Suggested-by: Arnd Bergmann <arnd@arndb.de>
> --
> Changes in v2:
> - Removed call to bfa_get_log_time entirely, instead of retaining
> it and making it call ktime_get_real_seconds internally.
> - Made subject line more clear.
Nice!
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
prev parent reply other threads:[~2015-02-25 10:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-25 2:14 [PATCH v2] [SCSI] bfa: Replace bfa_get_log_time() Tina Ruchandani
2015-02-25 10:41 ` Arnd Bergmann [this message]
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=8211611.LIRTX0Puvt@wuerfel \
--to=arnd@arndb.de \
--cc=JBottomley@parallels.com \
--cc=anil.gurumurthy@qlogic.com \
--cc=linux-scsi@vger.kernel.org \
--cc=ruchandani.tina@gmail.com \
--cc=sudarsana.kalluru@qlogic.com \
/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