Re: [PATCH v3 4/4] input: serio: Replace timeval by timespec64

2017-12-04 Thread Deepa Dinamani
On Mon, Dec 4, 2017 at 5:44 AM, Arnd Bergmann wrote: > On Mon, Dec 4, 2017 at 1:55 AM, Deepa Dinamani wrote: >> struct timeval is not y2038 safe. >> All references to timeval will be deleted from the >> kernel to make it y2038 safe. >> Replace its uses by

Re: [PATCH v3 4/4] input: serio: Replace timeval by timespec64

2017-12-04 Thread Deepa Dinamani
On Mon, Dec 4, 2017 at 5:44 AM, Arnd Bergmann wrote: > On Mon, Dec 4, 2017 at 1:55 AM, Deepa Dinamani wrote: >> struct timeval is not y2038 safe. >> All references to timeval will be deleted from the >> kernel to make it y2038 safe. >> Replace its uses by y2038 safe struct timespec64. >> >> The

Re: [PATCH v3 4/4] input: serio: Replace timeval by timespec64

2017-12-04 Thread Arnd Bergmann
On Mon, Dec 4, 2017 at 1:55 AM, Deepa Dinamani wrote: > struct timeval is not y2038 safe. > All references to timeval will be deleted from the > kernel to make it y2038 safe. > Replace its uses by y2038 safe struct timespec64. > > The timestamps changed here only keep

Re: [PATCH v3 4/4] input: serio: Replace timeval by timespec64

2017-12-04 Thread Arnd Bergmann
On Mon, Dec 4, 2017 at 1:55 AM, Deepa Dinamani wrote: > struct timeval is not y2038 safe. > All references to timeval will be deleted from the > kernel to make it y2038 safe. > Replace its uses by y2038 safe struct timespec64. > > The timestamps changed here only keep track of delta > times.

[PATCH v3 4/4] input: serio: Replace timeval by timespec64

2017-12-03 Thread Deepa Dinamani
struct timeval is not y2038 safe. All references to timeval will be deleted from the kernel to make it y2038 safe. Replace its uses by y2038 safe struct timespec64. The timestamps changed here only keep track of delta times. These timestamps are also internal to kernel. Hence, monotonic times are

[PATCH v3 4/4] input: serio: Replace timeval by timespec64

2017-12-03 Thread Deepa Dinamani
struct timeval is not y2038 safe. All references to timeval will be deleted from the kernel to make it y2038 safe. Replace its uses by y2038 safe struct timespec64. The timestamps changed here only keep track of delta times. These timestamps are also internal to kernel. Hence, monotonic times are