aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tee/optee/call.c
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2022-03-16 13:28:31 +0100
committerJens Wiklander <jens.wiklander@linaro.org>2022-04-13 07:33:59 +0200
commit30c375a7f6bd2b65243b58cf0aa39791978f2b0b (patch)
tree8bcf176f4d33113327d12c68284728c44e509bd4 /drivers/tee/optee/call.c
parentLinux 5.18-rc1 (diff)
downloadlinux-dev-30c375a7f6bd2b65243b58cf0aa39791978f2b0b.tar.xz
linux-dev-30c375a7f6bd2b65243b58cf0aa39791978f2b0b.zip
optee: rename rpc_arg_count to rpc_param_count
Renames the field rpc_arg_count in struct optee to rpc_param_count. Function parameter names and local variables are also renamed to match. Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/tee/optee/call.c')
-rw-r--r--drivers/tee/optee/call.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tee/optee/call.c b/drivers/tee/optee/call.c
index bd49ec934060..a9a237d20c61 100644
--- a/drivers/tee/optee/call.c
+++ b/drivers/tee/optee/call.c
@@ -113,12 +113,12 @@ struct tee_shm *optee_get_msg_arg(struct tee_context *ctx, size_t num_params,
struct optee_msg_arg *ma;
/*
- * rpc_arg_count is set to the number of allocated parameters in
+ * rpc_param_count is set to the number of allocated parameters in
* the RPC argument struct if a second MSG arg struct is expected.
* The second arg struct will then be used for RPC.
*/
- if (optee->rpc_arg_count)
- sz += OPTEE_MSG_GET_ARG_SIZE(optee->rpc_arg_count);
+ if (optee->rpc_param_count)
+ sz += OPTEE_MSG_GET_ARG_SIZE(optee->rpc_param_count);
shm = tee_shm_alloc_priv_buf(ctx, sz);
if (IS_ERR(shm))