Re: [U-Boot] [PATCH v2 1/6] drivers: rtc: resolve year 2038 problem in rtc_to_tm

2018-07-09 Thread Arnd Bergmann
On Sun, Jul 8, 2018 at 11:32 PM, Alexander Graf wrote: > > > On 07.07.18 23:39, Heinrich Schuchardt wrote: >> Our implementation of rtc_to_tm() cannot handle dates of more than >> 0x7fff seconds after 1970-01-01. >> >> Adopt the Linux kernel implementation. >> >> Signed-off-by: Heinrich Schuch

Re: [U-Boot] [PATCH v2 1/6] drivers: rtc: resolve year 2038 problem in rtc_to_tm

2018-07-08 Thread Alexander Graf
On 07.07.18 23:39, Heinrich Schuchardt wrote: > Our implementation of rtc_to_tm() cannot handle dates of more than > 0x7fff seconds after 1970-01-01. > > Adopt the Linux kernel implementation. > > Signed-off-by: Heinrich Schuchardt This patch is slightly out of scope for efi-next and the

[U-Boot] [PATCH v2 1/6] drivers: rtc: resolve year 2038 problem in rtc_to_tm

2018-07-07 Thread Heinrich Schuchardt
Our implementation of rtc_to_tm() cannot handle dates of more than 0x7fff seconds after 1970-01-01. Adopt the Linux kernel implementation. Signed-off-by: Heinrich Schuchardt --- v2 adopt the Linux kernel implementation --- drivers/rtc/Makefile | 1 + drivers/rtc/date.c