optee: add missing description of RPC argument reference
authorEtienne Carriere <etienne.carriere@foss.st.com>
Mon, 30 Oct 2023 08:55:15 +0000 (09:55 +0100)
committerJens Wiklander <jens.wiklander@linaro.org>
Mon, 11 Dec 2023 14:02:12 +0000 (15:02 +0100)
Adds missing inline description comment for RPC optional arguments
reference.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/lkml/202310192021.fvb6JDOY-lkp@intel.com/
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/smc_abi.c

index d5b28fd35d665378591674a8baaeffac5bcd77c0..67bfa25d63028f209fcfea47802ccfcef7c5796b 100644 (file)
@@ -806,6 +806,7 @@ static void handle_rpc_func_cmd(struct tee_context *ctx, struct optee *optee,
 /**
  * optee_handle_rpc() - handle RPC from secure world
  * @ctx:       context doing the RPC
+ * @rpc_arg:   pointer to RPC arguments if any, or NULL if none
  * @param:     value of registers for the RPC
  * @call_ctx:  call context. Preserved during one OP-TEE invocation
  *