Re: [PATCH v2 03/22] net: broadcom: stop using rtc deprecated functions

From: Michael Chan
Date: Wed Jul 12 2017 - 16:01:59 EST


On Wed, Jul 12, 2017 at 1:04 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: Michael Chan <michael.chan@xxxxxxxxxxxx>
> CC: netdev@xxxxxxxxxxxxxxx
> CC: linux-kernel@xxxxxxxxxxxxxxx

Acked-by: Michael Chan <michael.chan@xxxxxxxxxxxx>

Thanks.