Re: [Xen-devel] [PATCH] watchdog: xen: use time64_t for timeouts

2017-10-19 Thread Guenter Roeck
On Thu, Oct 19, 2017 at 05:05:48PM +0200, Arnd Bergmann wrote: > The Xen watchdog driver uses __kernel_time_t and ktime_to_timespec() > internally for managing its timeouts. Both are deprecated because of > y2038 problems. The driver itself is fine, since it only uses monotonic > times, but convert

[Xen-devel] [PATCH] watchdog: xen: use time64_t for timeouts

2017-10-19 Thread Arnd Bergmann
The Xen watchdog driver uses __kernel_time_t and ktime_to_timespec() internally for managing its timeouts. Both are deprecated because of y2038 problems. The driver itself is fine, since it only uses monotonic times, but converting it to use ktime_get_seconds() avoids the deprecated interfaces and