Re: [PATCH 34/51] rtc: pl031: stop using rtc deprecated functions

From: Russell King - ARM Linux
Date: Tue Jun 20 2017 - 17:06:21 EST


On Tue, Jun 20, 2017 at 06:08:48PM +0200, Linus Walleij wrote:
> On Tue, Jun 20, 2017 at 11:35 AM, Benjamin Gaignard
> <benjamin.gaignard@xxxxxxxxxx> wrote:
>
> > rtc_time_to_tm() and rtc_tm_to_time() are deprecated because they
> > rely on 32bits variables and that will make rtc break in y2038/2016.
> > Stop using those two functions to safer 64bits ones.
> >
> > Signed-off-by: Benjamin Gaignard <benjamin.gaignard@xxxxxxxxxx>
> > CC: Linus Walleij <linus.walleij@xxxxxxxxxx>
> > CC: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>
> > CC: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
> > CC: rtc-linux@xxxxxxxxxxxxxxxx
> > CC: linux-kernel@xxxxxxxxxxxxxxx
> > CC: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
>
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Naked-again-by: Russell King

Really, people need to stop re-posting the same patches that have
already been naked.

This patch fixes NOTHING.

--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.