Re: [Y2038] [PATCH] hp_sdc: fixed y2038 problem

2015-10-21 Thread Pingbo Wen
On Monday, October 19, 2015 05:01 PM, Arnd Bergmann wrote: > On Sunday 18 October 2015 17:44:19 WEN Pingbo wrote: >> Two replacements happened in this patch: >> 1. using timespec64 to prevent time overflow in 2038 >> 2. using ktime_get_ts64 to avoid wall time issues(leap second, etc) >> >

Re: [Y2038] [PATCH] hp_sdc: fixed y2038 problem

2015-10-19 Thread Arnd Bergmann
On Sunday 18 October 2015 17:44:19 WEN Pingbo wrote: > Two replacements happened in this patch: > 1. using timespec64 to prevent time overflow in 2038 > 2. using ktime_get_ts64 to avoid wall time issues(leap second, etc) > > Signed-off-by: WEN Pingbo > The patch looks correct, but I thi

[PATCH] hp_sdc: fixed y2038 problem

2015-10-18 Thread WEN Pingbo
Two replacements happened in this patch: 1. using timespec64 to prevent time overflow in 2038 2. using ktime_get_ts64 to avoid wall time issues(leap second, etc) Signed-off-by: WEN Pingbo --- drivers/input/serio/hp_sdc.c | 18 +- include/linux/hp_sdc.h | 6 +++---