diff options
author | WEN Pingbo <pingbo.wen@linaro.org> | 2015-10-18 16:33:47 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-10-22 23:31:28 -0700 |
commit | ba564e789761368b44be1362ace576831778d371 (patch) | |
tree | 9aedda1e9e9960ef5a7fc1f74efb16b672a13fa0 /tools | |
parent | 2e9776e0c82b4bbf7d50fd6669080ab691156cea (diff) | |
download | linux-ba564e789761368b44be1362ace576831778d371.tar.bz2 |
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions