[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <910e59ca484243edb838be21daa71547@microsemi.com>
Date: Fri, 22 Jun 2018 17:23:18 +0000
From: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@...rosemi.com>
To: Arnd Bergmann <arnd@...db.de>,
dl-esc-Aacraid Linux Driver <aacraid@...rosemi.com>,
"James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>
CC: "y2038@...ts.linaro.org" <y2038@...ts.linaro.org>,
"Guilherme G. Piccoli" <gpiccoli@...ux.vnet.ibm.com>,
Dave Carroll <david.carroll@...rosemi.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] aacraid: stop using deprated get_seconds()
> 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@...db.de>
> ---
[...]
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@...rosemi.com>
Powered by blists - more mailing lists