WEN Pingbo
ba564e7897
Input: hp_sdc_rtc - fix y2038 problem in proc_show
...
hp_sdc_rtc_proc_show() use timeval to store the time, which will overflow
in 2038.
This patch fixes this problem by replacing timeval with timespec64.
hp_sdc_rtc_proc_show() only output string, so that userspace will work
normally if we apply this patch.
Not all timer in i8042 have y2038 risk(handshake, match timer, etc),
Replacements in those timer are just for consistency.
Signed-off-by: WEN Pingbo <pingbo.wen@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-10-22 23:31:28 -07:00
..
2014-10-20 16:20:40 +02:00
2014-12-17 10:06:02 -08:00
2015-09-03 10:56:19 -07:00
2015-09-19 11:42:39 -07:00
2015-09-19 11:42:39 -07:00
2015-09-19 11:42:39 -07:00
2015-09-19 11:42:39 -07:00
2015-07-17 16:57:00 -07:00
2014-11-02 00:10:06 -07:00
2014-01-06 23:23:57 -08:00
2010-07-03 13:13:21 -07:00
2010-01-09 23:28:33 -08:00
2015-07-23 17:34:06 -07:00
2015-05-28 11:32:10 +09:30
2014-01-24 17:17:30 -08:00
2015-08-03 14:11:46 -07:00
2015-02-15 16:06:29 -08:00
2015-07-17 16:57:00 -07:00
2013-10-06 01:23:41 -07:00
2015-07-17 16:57:00 -07:00
2013-12-06 02:06:29 -08:00
2010-11-30 23:05:21 -08:00
2014-10-20 16:20:40 +02:00
2014-10-20 16:20:40 +02:00
2014-10-20 16:20:40 +02:00
2015-09-29 16:50:07 -07:00
2014-10-20 16:20:40 +02:00
2015-09-04 12:02:11 -07:00
2015-09-04 12:02:11 -07:00
2015-09-04 12:02:11 -07:00
2015-01-10 14:17:10 -08:00
2015-07-30 11:05:37 -07:00
2014-10-20 16:20:40 +02:00
2015-06-16 17:09:14 -07:00
2015-10-22 23:31:28 -07:00
2014-10-20 16:20:40 +02:00
2014-12-15 20:32:42 -08:00
2014-10-20 16:20:40 +02:00
2015-09-29 16:50:07 -07:00
2014-07-18 10:53:27 -07:00
2015-10-02 11:44:17 -07:00
2014-10-20 16:20:40 +02:00
2015-08-07 14:57:25 +01:00
2014-12-17 10:06:02 -08:00
2015-08-28 17:46:25 -07:00
2015-08-07 14:57:25 +01:00
2014-10-20 16:20:40 +02:00
2015-03-24 11:35:06 -07:00
2015-07-17 16:57:00 -07:00
2015-03-19 12:16:18 -07:00
2014-10-20 16:20:40 +02:00
2015-07-17 16:57:00 -07:00
2014-01-06 23:23:57 -08:00
2014-10-20 16:20:40 +02:00
2014-12-17 10:06:02 -08:00
2015-09-19 11:39:03 -07:00
2015-07-23 14:58:35 -07:00
2014-01-06 23:23:57 -08:00
2015-09-03 10:56:20 -07:00
2015-09-03 12:08:02 +02:00
2015-09-03 10:56:20 -07:00
2015-05-15 15:58:41 -07:00
2015-10-16 15:32:18 -07:00
2014-10-20 16:20:40 +02:00
2014-12-17 10:06:02 -08:00
2015-05-13 10:30:18 -07:00
2015-09-03 23:37:09 -07:00
2015-03-19 12:16:18 -07:00
2015-05-15 15:58:40 -07:00
2015-08-05 11:11:37 -07:00
2015-05-15 15:58:41 -07:00
2015-09-21 09:32:41 -07:00
2014-10-20 16:20:40 +02:00
2015-05-15 15:58:42 -07:00
2015-09-08 18:03:49 +01:00
2014-01-06 23:23:57 -08:00
2010-02-09 11:13:56 +01:00