linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Wiklander <jens.wiklander@linaro.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: y2038@lists.linaro.org,
	Jerome Forissier <jerome.forissier@linaro.org>,
	Etienne Carriere <etienne.carriere@linaro.org>,
	Joakim Bech <joakim.bech@linaro.org>,
	Volodymyr Babchuk <vlad.babchuk@gmail.com>,
	tiger-yu99 <tigeryu99@hotmail.com>,
	David Wang <david.wang@arm.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tee: replace getnstimeofday64() with ktime_get_real_ts64()
Date: Tue, 19 Jun 2018 15:37:42 +0200	[thread overview]
Message-ID: <20180619133741.GA9537@jax.urgonet> (raw)
In-Reply-To: <20180618142511.3598193-1-arnd@arndb.de>

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@arndb.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@linaro.org>

Thanks,
Jens

  reply	other threads:[~2018-06-19 13:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-18 14:24 [PATCH] tee: replace getnstimeofday64() with ktime_get_real_ts64() Arnd Bergmann
2018-06-19 13:37 ` Jens Wiklander [this message]
2018-06-19 14:05   ` Arnd Bergmann
2018-06-19 14:23     ` Jens Wiklander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180619133741.GA9537@jax.urgonet \
    --to=jens.wiklander@linaro.org \
    --cc=arnd@arndb.de \
    --cc=david.wang@arm.com \
    --cc=etienne.carriere@linaro.org \
    --cc=jerome.forissier@linaro.org \
    --cc=joakim.bech@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tigeryu99@hotmail.com \
    --cc=vlad.babchuk@gmail.com \
    --cc=y2038@lists.linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).