Re: [PATCH] openvswitch: use ktime_get_ts64() instead of ktime_get_ts()

2017-11-30 Thread David Miller
From: Arnd Bergmann Date: Mon, 27 Nov 2017 12:41:38 +0100 > timespec is deprecated because of the y2038 overflow, so let's convert > this one to ktime_get_ts64(). The code is already safe even on 32-bit > architectures, since it uses monotonic times. On 64-bit architectures, > nothing changes, wh

Re: [PATCH] openvswitch: use ktime_get_ts64() instead of ktime_get_ts()

2017-11-28 Thread Arnd Bergmann
On Tue, Nov 28, 2017 at 5:59 AM, Pravin Shelar wrote: > On Mon, Nov 27, 2017 at 5:11 PM, Arnd Bergmann wrote: >> timespec is deprecated because of the y2038 overflow, so let's convert >> this one to ktime_get_ts64(). The code is already safe even on 32-bit >> architectures, since it uses monotoni

Re: [PATCH] openvswitch: use ktime_get_ts64() instead of ktime_get_ts()

2017-11-27 Thread Pravin Shelar
On Mon, Nov 27, 2017 at 5:11 PM, Arnd Bergmann wrote: > timespec is deprecated because of the y2038 overflow, so let's convert > this one to ktime_get_ts64(). The code is already safe even on 32-bit > architectures, since it uses monotonic times. On 64-bit architectures, > nothing changes, while o

[PATCH] openvswitch: use ktime_get_ts64() instead of ktime_get_ts()

2017-11-27 Thread Arnd Bergmann
timespec is deprecated because of the y2038 overflow, so let's convert this one to ktime_get_ts64(). The code is already safe even on 32-bit architectures, since it uses monotonic times. On 64-bit architectures, nothing changes, while on 32-bit architectures this avoids one type conversion. Signed