tee: replace getnstimeofday64() with ktime_get_real_ts64()
Subsystems (2)
PATCH 1/1 tee: replace getnstimeofday64() with ktime_get_real_ts64()
The two do the same thing, but we want to have a consistent naming in the kernel.
Signed-off-by Arnd Bergmann <[email protected]>
--- drivers/tee/optee/rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tee/optee/rpc.c +1 -1
@@ -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;
Signature · 1 line
2.9.0
Quoted 24 lines · Arnd Bergmann
The two do the same thing, but we want to have a consistent naming in the kernel.
Signed-off-by Arnd Bergmann <[email protected]>--- drivers/tee/optee/rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/tee/optee/rpc.c +1
-1@@ -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;Signature · 1 line
2.9.0
Looks good.
Acked-by Jens Wiklander <[email protected]>
Thanks,
Jens
Quoted 22 lines · Jens Wiklander
Quoted 21 lines · Arnd Bergmann
The two do the same thing, but we want to have a consistent naming in the kernel.
Signed-off-by Arnd Bergmann <[email protected]>--- drivers/tee/optee/rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/tee/optee/rpc.c +1
-1@@ -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;
Quoted 7 lines
Quoted 3 lines
--
2.9.0Looks good.
Acked-by Jens Wiklander <[email protected]>
Thanks for the review. Can you pick it up in your tree?
Arnd
Quoted 30 lines · Arnd Bergmann
Quoted 28 lines · Jens Wiklander
Quoted 22 lines · Arnd Bergmann
The two do the same thing, but we want to have a consistent naming in the kernel.
Signed-off-by Arnd Bergmann <[email protected]>--- drivers/tee/optee/rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/tee/optee/rpc.c +1
-2@@ -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; --Quoted 2 lines
2.9.0
Looks good.
Quoted 3 lines
Quoted 1 line
Acked-by Jens Wiklander <[email protected]>Thanks for the review. Can you pick it up in your tree?
OK, I'll pick it up.
Thanks,
Jens