From: Xunlei Pang Date: Thu, 22 Jan 2015 02:31:53 +0000 (+0000) Subject: rtc: Modify rtc_hctosys() to address y2038 issues X-Git-Tag: fixes-v4.0-rc1~178^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6d6e1c879efa4b77e250c34fe5fe1c34e6ef070;p=pandora-kernel.git rtc: Modify rtc_hctosys() to address y2038 issues rtc_hctosys() has a number of y2038 issues. This patch resolves them by: - Replace rtc_tm_to_time() with y2038-safe rtc_tm_to_time64() - Replace do_settimeofday() with y2038-safe do_settimeofday64() After this patch, it should not have any remaining y2038 issues. Cc: pang.xunlei Cc: Arnd Bergmann Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Xunlei Pang Signed-off-by: John Stultz --- Reading git-diff-tree failed