[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180619133741.GA9537@jax.urgonet>
Date: Tue, 19 Jun 2018 15:37:42 +0200
From: Jens Wiklander <jens.wiklander@...aro.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: y2038@...ts.linaro.org,
Jerome Forissier <jerome.forissier@...aro.org>,
Etienne Carriere <etienne.carriere@...aro.org>,
Joakim Bech <joakim.bech@...aro.org>,
Volodymyr Babchuk <vlad.babchuk@...il.com>,
tiger-yu99 <tigeryu99@...mail.com>,
David Wang <david.wang@....com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tee: replace getnstimeofday64() with
ktime_get_real_ts64()
On Mon, Jun 18, 2018 at 04:24:56PM +0200, Arnd Bergmann wrote:
> The two do the same thing, but we want to have a consistent
> naming in the kernel.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
> drivers/tee/optee/rpc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tee/optee/rpc.c b/drivers/tee/optee/rpc.c
> index 41aea12e2bcc..b45c73dd37a5 100644
> --- a/drivers/tee/optee/rpc.c
> +++ b/drivers/tee/optee/rpc.c
> @@ -48,7 +48,7 @@ static void handle_rpc_func_cmd_get_time(struct optee_msg_arg *arg)
> OPTEE_MSG_ATTR_TYPE_VALUE_OUTPUT)
> goto bad;
>
> - getnstimeofday64(&ts);
> + ktime_get_real_ts64(&ts);
> arg->params[0].u.value.a = ts.tv_sec;
> arg->params[0].u.value.b = ts.tv_nsec;
>
> --
> 2.9.0
>
Looks good.
Acked-by: Jens Wiklander <jens.wiklander@...aro.org>
Thanks,
Jens
Powered by blists - more mailing lists