Re: [PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2018-01-08 Thread Dmitry Torokhov
On Sat, Jan 06, 2018 at 01:43:34PM -0800, Deepa Dinamani wrote: > On Tue, Jan 2, 2018 at 7:35 AM, Arnd Bergmann wrote: > > On Tue, Jan 2, 2018 at 7:46 AM, Dmitry Torokhov > > wrote: > >> On Sun, Dec 17, 2017 at 09:18:43PM -0800, Deepa Dinamani wrote: >

Re: [PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2018-01-08 Thread Dmitry Torokhov
On Sat, Jan 06, 2018 at 01:43:34PM -0800, Deepa Dinamani wrote: > On Tue, Jan 2, 2018 at 7:35 AM, Arnd Bergmann wrote: > > On Tue, Jan 2, 2018 at 7:46 AM, Dmitry Torokhov > > wrote: > >> On Sun, Dec 17, 2017 at 09:18:43PM -0800, Deepa Dinamani wrote: > >>> @@ -304,12 +314,11 @@ static void

Re: [PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2018-01-06 Thread Deepa Dinamani
On Tue, Jan 2, 2018 at 7:35 AM, Arnd Bergmann wrote: > On Tue, Jan 2, 2018 at 7:46 AM, Dmitry Torokhov > wrote: >> On Sun, Dec 17, 2017 at 09:18:43PM -0800, Deepa Dinamani wrote: >>> @@ -304,12 +314,11 @@ static void evdev_events(struct input_handle

Re: [PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2018-01-06 Thread Deepa Dinamani
On Tue, Jan 2, 2018 at 7:35 AM, Arnd Bergmann wrote: > On Tue, Jan 2, 2018 at 7:46 AM, Dmitry Torokhov > wrote: >> On Sun, Dec 17, 2017 at 09:18:43PM -0800, Deepa Dinamani wrote: >>> @@ -304,12 +314,11 @@ static void evdev_events(struct input_handle *handle, >>> { >>> struct evdev *evdev

Re: [PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2018-01-02 Thread Arnd Bergmann
On Tue, Jan 2, 2018 at 7:46 AM, Dmitry Torokhov wrote: > On Sun, Dec 17, 2017 at 09:18:43PM -0800, Deepa Dinamani wrote: >> @@ -304,12 +314,11 @@ static void evdev_events(struct input_handle *handle, >> { >> struct evdev *evdev = handle->private; >> struct

Re: [PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2018-01-02 Thread Arnd Bergmann
On Tue, Jan 2, 2018 at 7:46 AM, Dmitry Torokhov wrote: > On Sun, Dec 17, 2017 at 09:18:43PM -0800, Deepa Dinamani wrote: >> @@ -304,12 +314,11 @@ static void evdev_events(struct input_handle *handle, >> { >> struct evdev *evdev = handle->private; >> struct evdev_client *client; >> -

Re: [PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2018-01-01 Thread Dmitry Torokhov
Hi Deepa, On Sun, Dec 17, 2017 at 09:18:43PM -0800, Deepa Dinamani wrote: > struct timeval is not y2038 safe. > > All references to timeval in the kernel will be replaced > by y2038 safe structures. > Replace all references to timeval with y2038 safe > struct timespec64 here. > > struct

Re: [PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2018-01-01 Thread Dmitry Torokhov
Hi Deepa, On Sun, Dec 17, 2017 at 09:18:43PM -0800, Deepa Dinamani wrote: > struct timeval is not y2038 safe. > > All references to timeval in the kernel will be replaced > by y2038 safe structures. > Replace all references to timeval with y2038 safe > struct timespec64 here. > > struct

[PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2017-12-17 Thread Deepa Dinamani
struct timeval is not y2038 safe. All references to timeval in the kernel will be replaced by y2038 safe structures. Replace all references to timeval with y2038 safe struct timespec64 here. struct input_event will be changed in a different patch. Signed-off-by: Deepa Dinamani

[PATCH v5 2/3] input: evdev: Replace timeval with timespec64

2017-12-17 Thread Deepa Dinamani
struct timeval is not y2038 safe. All references to timeval in the kernel will be replaced by y2038 safe structures. Replace all references to timeval with y2038 safe struct timespec64 here. struct input_event will be changed in a different patch. Signed-off-by: Deepa Dinamani Reviewed-by: