summaryrefslogtreecommitdiffstats
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorXunlei Pang <pang.xunlei@linaro.org>2015-04-02 05:34:28 +0200
committerIngo Molnar <mingo@kernel.org>2015-04-03 08:18:24 +0200
commit4d644ab84c6ed66f7a628c74d83c34d85bec13bf (patch)
tree4ae8c019cade838bf75e1b8e8e4583554ac8360a /crypto/lrw.c
parentdrivers/rtc: Provide y2038 safe rtc_class_ops.set_mmss() replacement (diff)
downloadlinux-4d644ab84c6ed66f7a628c74d83c34d85bec13bf.tar.xz
linux-4d644ab84c6ed66f7a628c74d83c34d85bec13bf.zip
drivers/rtc/test: Update driver to address y2038/y2106 issues
This driver has a number of y2038/y2106 issues. This patch resolves them by: - Replacing get_seconds() with ktime_get_real_seconds() - Replacing rtc_time_to_tm() with rtc_time64_to_tm() Also add test_rtc_set_mmss64() for testing rtc_class_ops's set_mmss64(), which can be activated by "test_mmss64" module parameter. Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org> Acked-by: Alessandro Zummo <a.zummo@towertech.it> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1427945681-29972-9-git-send-email-john.stultz@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions