Files
linux-stable-mirror/include/linux
Xunlei Pang 8e4ff1a81a drivers/rtc: Provide y2038 safe rtc_class_ops.set_mmss() replacement
Currently the rtc_class_op's set_mmss() function takes a 32-bit
second value (on 32-bit systems), which is problematic for dates
past y2038.

This patch provides a safe version named set_mmss64() using
y2038 safe time64_t.

After this patch, set_mmss() is deprecated and all its users
will be fixed to use set_mmss64(), it can be removed when having
no users.

Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
[jstultz: Add whitespace fix for checkpatch]
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-8-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-04-03 08:18:24 +02:00
..
2015-02-19 13:31:40 +03:00
2014-09-22 16:48:47 +09:00
2015-03-03 14:14:26 +00:00
2015-02-18 07:28:37 -08:00
2015-03-11 15:56:59 -07:00
2015-02-12 18:54:15 -08:00
2015-02-13 21:21:36 -08:00
2015-02-17 14:34:51 -08:00
2014-10-09 22:25:58 -04:00
2015-02-11 17:06:02 -08:00
2014-01-27 21:02:39 -08:00
2015-02-17 14:34:52 -08:00
2015-02-16 17:56:03 -08:00
2015-02-13 21:21:41 -08:00
2015-02-13 21:21:35 -08:00
2014-08-08 15:57:24 -07:00
2012-08-21 16:28:31 +02:00
2012-10-09 16:22:32 +09:00
2015-02-17 22:21:11 -05:00