diff options
author | Xunlei Pang <pang.xunlei@linaro.org> | 2015-01-22 03:31:53 +0100 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2015-01-24 02:21:56 +0100 |
commit | a6d6e1c879efa4b77e250c34fe5fe1c34e6ef070 (patch) | |
tree | 2d5eb6daecb5d37dca5ff23b3a6c0f5988bd8d11 /drivers/regulator/max8973-regulator.c | |
parent | rtc: Update rtc-dev to use y2038-safe time interfaces (diff) | |
download | linux-a6d6e1c879efa4b77e250c34fe5fe1c34e6ef070.tar.xz linux-a6d6e1c879efa4b77e250c34fe5fe1c34e6ef070.zip |
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 <pang.xunlei@linaro.org>
Cc: Arnd Bergmann <arnd.bergmann@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/regulator/max8973-regulator.c')
0 files changed, 0 insertions, 0 deletions