Re: [PATCH] parisc: time: Convert read_persistent_clock() to read_persistent_clock64()

From: Helge Deller
Date: Fri Apr 20 2018 - 14:13:59 EST


On 20.04.2018 17:23, Arnd Bergmann wrote:
> On Thu, Apr 19, 2018 at 8:51 AM, Baolin Wang <baolin.wang@xxxxxxxxxx> wrote:
>> The read_persistent_clock() uses a timespec, which is not year 2038 safe
>> on 32bit systems. On parisc architecture, we have implemented generic RTC
>> drivers that can be used to compensate the system suspend time, but the
>> RTC time can not represent the nanosecond resolution, so this patch just
>> converts to read_persistent_clock64() with timespec64.
>>
>> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>
>
> I have created the exact same patch a while ago but never submitted that.
>
> If the parisc maintainers want to apply yours with my Ack, that
> would be appreciated.
>
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

Thanks, I'll take it through the parisc git tree.

Helge