linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
To: Arnd Bergmann <arnd@arndb.de>,
	dl-esc-Aacraid Linux Driver <aacraid@microsemi.com>,
	"James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>
Cc: "y2038@lists.linaro.org" <y2038@lists.linaro.org>,
	"Guilherme G. Piccoli" <gpiccoli@linux.vnet.ibm.com>,
	Dave Carroll <david.carroll@microsemi.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] aacraid: stop using deprated get_seconds()
Date: Fri, 22 Jun 2018 17:23:18 +0000	[thread overview]
Message-ID: <910e59ca484243edb838be21daa71547@microsemi.com> (raw)
In-Reply-To: <20180618152734.1705907-1-arnd@arndb.de>




> get_seconds() can overflow on 32-bit architectures and is deprecated
> because of that. The use in the aacraid driver has the same problem due
> to a limited firmware interface, it also overflows in the year 2106.
> 
> This changes all calls to get_seconds() to the non-deprecated
> ktime_get_real_seconds(), which unfortunately doesn't solve that problem
> but gets rid of one user of the deprecated interface.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
[...]
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>

  reply	other threads:[~2018-06-22 17:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-18 15:26 [PATCH] aacraid: stop using deprated get_seconds() Arnd Bergmann
2018-06-22 17:23 ` Raghava Aditya Renukunta [this message]
2018-06-26 15:57 ` 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=910e59ca484243edb838be21daa71547@microsemi.com \
    --to=raghavaaditya.renukunta@microsemi.com \
    --cc=aacraid@microsemi.com \
    --cc=arnd@arndb.de \
    --cc=david.carroll@microsemi.com \
    --cc=gpiccoli@linux.vnet.ibm.com \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.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;
as well as URLs for NNTP newsgroup(s).