From patchwork Mon Jun 18 14:24:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 138966 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp4017882lji; Mon, 18 Jun 2018 07:25:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKZykWF+z2iLk6Y6XmrI8NRQ2/q+J8xB3vOD6+OnwGMt8OQd6ACwPRsgKreGzbmAS8Gydje X-Received: by 2002:a65:5d8a:: with SMTP id f10-v6mr11542053pgt.119.1529331922343; Mon, 18 Jun 2018 07:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529331922; cv=none; d=google.com; s=arc-20160816; b=Rk6F/bAOYbsnqN80DBM5n8dz8ZXGPR2VXqP7nBDK4WIORqp67ERQHkLpcQzoHi3sKP HjOBaXaHUkvxNl5PtY3wWjrX0hgTUY1foKcxEKeTDJodpmdd1KtbpD0qiBKGzMPsQ4xq LZqqE4LlB4+RQ+/PcoRcmpLrkMTNEkc2MYKLsU1dSGKId0H/SAPqPRxuUCoGfN2nnPxR f3u11WpYwYsQQYWBeCGYqZCeUkq4cYERHifSAs4tkKGsCsCPc0GHEGeyGMaFRTx/rx04 ku6K+pQkdEM1DkXZShOB0bXU9i6aJtnTigKGyKxe24yLARD6mG7/UzjnKjC2SM7QyIay kh5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=xk4Z6W4S8dWTHFekAfttdd/beCASroimicTDzwPembU=; b=uA0uRcolsp5SteebKRoloz8DzWoH7VRo2j+9lmRuBAVMtmTJ9LwD2ZMT3tkyX9NIE/ JkEb3E+VRRjfRGIoN3CsYk4iyk1lfbC33dS18KijmtZtORktWf6qxbVuqzwpnBPjXQ0U QgDoccMdcUZgyUEl3KurcFHASLJP2W8Z+C9Thd9DsRco+8tleUmkioFC25KKUj70IhEg sQkdZLoqf14CRBvsKGGbJ21pm7h08HH3YKU7uwd6S/qflMNgqtQ0qkdIplOS1BTYlKOP wOC4OlE54vFq5PRRyUgaZUXxlmTv+nm5iNqF9g2lfPwTBqBvfyGhzOshdJsG+JFdSwvy uEQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w65-v6si14856711pfb.309.2018.06.18.07.25.22; Mon, 18 Jun 2018 07:25:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934933AbeFROZT (ORCPT + 30 others); Mon, 18 Jun 2018 10:25:19 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:52915 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934285AbeFROZS (ORCPT ); Mon, 18 Jun 2018 10:25:18 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.129]) with ESMTPA (Nemesis) id 0M0HAz-1gMLem04Rp-00uWs9; Mon, 18 Jun 2018 16:25:13 +0200 From: Arnd Bergmann To: Jens Wiklander Cc: y2038@lists.linaro.org, Arnd Bergmann , Jerome Forissier , Etienne Carriere , Joakim Bech , Volodymyr Babchuk , tiger-yu99 , David Wang , linux-kernel@vger.kernel.org Subject: [PATCH] tee: replace getnstimeofday64() with ktime_get_real_ts64() Date: Mon, 18 Jun 2018 16:24:56 +0200 Message-Id: <20180618142511.3598193-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:3pB1mVaS/YhPiyUjsf91i2nYDIRsnsIUiA1ExRrYsiozXUo+bl7 QJW+D/1wsNIwQJ+IWtffgBPt1eNKu+PNIjFWVWYYY1JN0Zx3MHHnKzJqp7NcgnmMYqXgxBF ziOPJw/q+MRF8HULBhGsBTJVDGUpF9zLFtv5HtUNRjZcYDzTmVyFQVq+xIctTKdBwIoIEuN EqONts4oXlruyprRxlJXg== X-UI-Out-Filterresults: notjunk:1; V01:K0:M/i2gwA1krU=:hpm1LXGiAr/TXIh2HpcVCG 4PJL76d77ieu4L/KlchOKA569kLgebK5iGameiOmOv6+cKxw5m6RsmaBXg6PPjPtjWFaVZySr I9Jxit35OJLMXJgT+DQudTL3drmVDck5RmGB1hyCsLv1LYuIlNkS3CkoDDGG3ZsBG3AKRDg5t 4XxmNCHH8Y9vI950B0z6w6Am9E0oWKA5yiQ/RGVvSBoRsRAEMrrBCQM6mJwnVK5dEsuuY62L7 f1hS6Io5yMkSDDMeClSYbd2eyLWltlQVrXhT/bWpGGIbRQEuYoEqDTp07vENO5K9u6ZnqfS9q 7+hOLEwRTN3ZAwrxfwUf/4Ghdh8dOijIg5dFuLoPHWGA950HxdrPUc8v5hpB2l7EiepMQvE/X SGf1zoRwrPNaYXUn6Vm8YeRNxEIz5QE5aYuFHcxs3ebEaiuBEaY7hQb+0DgXSCqY0o7AyQRZG 3UtmUgGfbpslYem/PUDjyoLB5RoKhfdo5nOP3wPPP2USUwl0NLPr5Q3oLJLTj/u06zSV4l2jw hYr+jkzpuzUyz7fTfaNoLc4EBD4PHLQyVyAmnmkD9q91S80F5TmSoRDYNVDzAg67+ihDsRuYt RmpMsW+PwDjtrTMFWtroLUKqGv8zyk9lggQ+5TZ78VaGPW9c+yQXZcUQofK09m7zvk+Iq+DmJ npKZfeRWT/o7F19DswyqEbsTa4nVeNETFHn4aEKuaYm/kM/pv0geT8taXYjgGCTcrb8k= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The two do the same thing, but we want to have a consistent naming in the kernel. Signed-off-by: Arnd Bergmann --- drivers/tee/optee/rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 Acked-by: Jens Wiklander 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;