From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: [PATCH net-next] nfp: avoid using getnstimeofday64() Date: Mon, 18 Jun 2018 13:31:47 -0700 Message-ID: <20180618133147.30a9896f@cakuba.netronome.com> References: <20180618152051.1510142-1-arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "David S. Miller" , y2038@lists.linaro.org, Simon Horman , John Hurley , Pieter Jansen van Vuuren , Jiri Pirko , oss-drivers@netronome.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Arnd Bergmann Return-path: In-Reply-To: <20180618152051.1510142-1-arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, 18 Jun 2018 17:20:17 +0200, Arnd Bergmann wrote: > getnstimeofday64 is deprecated in favor of the ktime_get() family of > functions. The direct replacement would be ktime_get_real_ts64(), > but I'm picking the basic ktime_get() instead: > > - using a ktime_t simplifies the code compared to timespec64 > - using monotonic time instead of real time avoids issues caused > by a concurrent settimeofday() or during a leap second adjustment. > > Signed-off-by: Arnd Bergmann Acked-by: Jakub Kicinski Thank you!