Re: [PATCH 1/5] drivers/rtc/interface.c: Update code to use y2038-safe time interfaces

2015-01-21 Thread John Stultz
On Wed, Jan 21, 2015 at 6:31 PM, Xunlei Pang wrote: > Currently, interface.c uses y2038 problematic rtc_tm_to_time() > and rtc_time_to_tm(). So replace them with their corresponding > y2038-safe versions: rtc_tm_to_time64() and rtc_time64_to_tm(). Ok, I've queued this set of 5 (with a few minor

[PATCH 1/5] drivers/rtc/interface.c: Update code to use y2038-safe time interfaces

2015-01-21 Thread Xunlei Pang
Currently, interface.c uses y2038 problematic rtc_tm_to_time() and rtc_time_to_tm(). So replace them with their corresponding y2038-safe versions: rtc_tm_to_time64() and rtc_time64_to_tm(). Reviewed-by: John Stultz Reviewed-by: Arnd Bergmann Signed-off-by: Xunlei Pang ---

[PATCH 1/5] drivers/rtc/interface.c: Update code to use y2038-safe time interfaces

2015-01-21 Thread Xunlei Pang
Currently, interface.c uses y2038 problematic rtc_tm_to_time() and rtc_time_to_tm(). So replace them with their corresponding y2038-safe versions: rtc_tm_to_time64() and rtc_time64_to_tm(). Reviewed-by: John Stultz john.stu...@linaro.org Reviewed-by: Arnd Bergmann arnd.bergm...@linaro.org

Re: [PATCH 1/5] drivers/rtc/interface.c: Update code to use y2038-safe time interfaces

2015-01-21 Thread John Stultz
On Wed, Jan 21, 2015 at 6:31 PM, Xunlei Pang pang.xun...@linaro.org wrote: Currently, interface.c uses y2038 problematic rtc_tm_to_time() and rtc_time_to_tm(). So replace them with their corresponding y2038-safe versions: rtc_tm_to_time64() and rtc_time64_to_tm(). Ok, I've queued this set of