Messages in this thread | | | From | Xunlei Pang <> | Subject | [RFC PATCH v2 0/9] Provide y2038/y2106 safe rtc_class_ops.set_mmss64() | Date | Tue, 13 Jan 2015 23:44:48 +0800 |
| |
From: Xunlei Pang <pang.xunlei@linaro.org>
This patch series relies on a former patchset[1], it provides y2038/y2106 safe rtc_class_ops.set_mmss64(), and converts some possible users of set_mmss() to use set_mmss64(), in the hope that making these users(i.e. rtc drivers) y2038/y2106 safe.
The first version of this patchset is: [2].
[1] https://lkml.org/lkml/2014/11/18/218 [2] https://lkml.org/lkml/2014/11/27/341
Xunlei Pang (9): rtc: Provide y2038 safe rtc_class_ops.set_mmss() replacement time: Provide y2106 safe get_seconds() replacement rtc/test: Update driver to address y2038/y2106 issues rtc/ab3100: Update driver to address y2038/y2106 issues rtc/mc13xxx: Update driver to address y2038/y2106 issues rtc/mxc: Modify rtc_update_alarm() not to touch the alarm time rtc/mxc: Convert get_alarm_or_time()/set_alarm_or_time() to use time64_t rtc/mxc: Update driver to address y2038/y2106 issues alpha: change to use rtc_class_ops's set_mmss64()
arch/alpha/kernel/rtc.c | 8 +++---- drivers/rtc/interface.c | 9 +++++++- drivers/rtc/rtc-ab3100.c | 55 ++++++++++++++++++++++----------------------- drivers/rtc/rtc-mc13xxx.c | 32 ++++++++++++-------------- drivers/rtc/rtc-mxc.c | 55 +++++++++++++++++---------------------------- drivers/rtc/rtc-test.c | 8 +++---- drivers/rtc/systohc.c | 5 ++++- include/linux/rtc.h | 1 + include/linux/timekeeping.h | 10 ++++++++- kernel/time/timekeeping.c | 4 ++-- 10 files changed, 93 insertions(+), 94 deletions(-)
-- 1.9.1
| |