Re: [PATCH] netxen: remove timespec usage

From: David Miller
Date: Thu Nov 30 2017 - 09:27:15 EST


From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Mon, 27 Nov 2017 12:39:57 +0100

> netxen_collect_minidump() evidently just wants to get a monotonic
> timestamp. Using jiffies_to_timespec(jiffies, &ts) is not
> appropriate here, since it will overflow after 2^32 jiffies,
> which may be as short as 49 days of uptime.
>
> ktime_get_seconds() is the correct interface here.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied.