[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171103035900.GG4240@vireshk-i7>
Date: Fri, 3 Nov 2017 09:29:00 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Bryan O'Donoghue <pure.logic@...us-software.ie>,
Johan Hovold <johan@...nel.org>, Alex Elder <elder@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Arushi Singhal <arushisinghal19971997@...il.com>,
devel@...verdev.osuosl.org,
Abdul Rauf <abdulraufmujahid@...il.com>,
linux-kernel@...r.kernel.org, greybus-dev@...ts.linaro.org,
Gioh Kim <gi-oh.kim@...fitbricks.com>
Subject: Re: [greybus-dev] [PATCH 2/2] staging: greybus/loopback: use
ktime_get() for time intervals
On 02-11-17, 15:32, Arnd Bergmann wrote:
> This driver is the only one using the deprecated timeval_to_ns()
> helper. Changing it from do_gettimeofday() to ktime_get() makes
> the code more efficient, more robust against concurrent
> settimeofday(), more accurate and lets us get rid of that helper
> in the future.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
> drivers/staging/greybus/loopback.c | 42 ++++++++++++++++----------------------
> 1 file changed, 18 insertions(+), 24 deletions(-)
Reviewed-by: Viresh Kumar <viresh.kumar@...aro.org>
--
viresh
Powered by blists - more mailing lists