[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171130.092709.1404710383549920876.davem@davemloft.net>
Date:   Thu, 30 Nov 2017 09:27:09 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     arnd@...db.de
Cc:     manish.chopra@...ium.com, rahul.verma@...ium.com,
        Dept-GELinuxNICDev@...ium.com, y2038@...ts.linaro.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] netxen: remove timespec usage
From: Arnd Bergmann <arnd@...db.de>
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@...db.de>
Applied.
Powered by blists - more mailing lists
 
