From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Tina Ruchandani <ruchandani.tina@gmail.com>
Cc: y2038@lists.linaro.org,
"James E.J. Bottomley" <JBottomley@parallels.com>,
Arnd Bergmann <arnd@arndb.de>,
linux-scsi@vger.kernel.org
Subject: Re: [RESEND PATCH] [SCSI] mvumi: 64bit value for seconds_since1970
Date: Wed, 11 Nov 2015 20:47:40 -0500 [thread overview]
Message-ID: <yq1r3jwt2df.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <20151030091110.GA3880@tina-laptop> (Tina Ruchandani's message of "Fri, 30 Oct 2015 02:11:10 -0700")
>>>>> "Tina" == Tina Ruchandani <ruchandani.tina@gmail.com> writes:
Tina> struct mvumi_hs_page2 stores a "seconds_since1970" field which is
Tina> of type u64. It is however, written to, using 'struct timeval'
Tina> which has a 32-bit seconds field and whose value will overflow in
Tina> year 2038. This patch uses ktime_get_real_seconds() instead since
Tina> it provides a 64-bit seconds value, which is 2038 safe.
Under normal circumstances I would like a driver owner signoff but it
doesn't look like mvumi gets much attention. Applied.
--
Martin K. Petersen Oracle Linux Engineering
_______________________________________________
Y2038 mailing list
Y2038@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/y2038
prev parent reply other threads:[~2015-11-12 1:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-30 9:11 [RESEND PATCH] [SCSI] mvumi: 64bit value for seconds_since1970 Tina Ruchandani
2015-10-30 9:35 ` Johannes Thumshirn
2015-11-05 16:31 ` [Y2038] " Arnd Bergmann
2015-11-12 1:47 ` Martin K. Petersen [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=yq1r3jwt2df.fsf@sermon.lab.mkp.net \
--to=martin.petersen@oracle.com \
--cc=JBottomley@parallels.com \
--cc=arnd@arndb.de \
--cc=linux-scsi@vger.kernel.org \
--cc=ruchandani.tina@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.