From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 2/2] [RESEND] nfp: avoid using getnstimeofday64() Date: Thu, 12 Jul 2018 14:56:10 -0700 (PDT) Message-ID: <20180712.145610.148554127408069933.davem@davemloft.net> References: <20180711123003.453442-1-arnd@arndb.de> <20180711123003.453442-2-arnd@arndb.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jakub.kicinski@netronome.com, john.hurley@netronome.com, simon.horman@netronome.com, pieter.jansenvanvuuren@netronome.com, jiri@mellanox.com, oss-drivers@netronome.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: arnd@arndb.de Return-path: In-Reply-To: <20180711123003.453442-2-arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Arnd Bergmann Date: Wed, 11 Jul 2018 14:29:53 +0200 > 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. > > Acked-by: Jakub Kicinski > Signed-off-by: Arnd Bergmann Applied to net-next.