linuxdriver: fix typo check [1/1]
authorrui guo <rui.guo@amlogic.com>
Fri, 24 Jun 2022 09:18:22 +0000 (17:18 +0800)
committerBruno Martins <bgcngm@gmail.com>
Sat, 20 Jul 2024 21:20:54 +0000 (22:20 +0100)
PD#SWPL-86276

Problem:
typo check

Solution:
Correct word

Verify:
Android R

Signed-off-by: rui guo <rui.guo@amlogic.com>
Change-Id: I171c4cc2c6815452ef30eee304d1f272f07ecdbe

include/linux/tee_drv.h
optee/core.c
optee/optee_msg.h
optee/optee_smc.h
tee_shm.c

index 401c014d995dfafb1cfa540f417cb4aab54e9a85..b43c1a27ecfbaeaed77a081304ace4476726e242 100644 (file)
@@ -74,7 +74,7 @@ struct tee_param {
  * @close_session:     close a session
  * @invoke_func:       invoke a trusted function
  * @cancel_req:                request cancel of an ongoing invoke or open
- * @supp_revc:         called for supplicant to get a command
+ * @supp_recv:         called for supplicant to get a command
  * @supp_send:         called for supplicant to send a response
  */
 struct tee_driver_ops {
@@ -235,7 +235,7 @@ void tee_shm_put(struct tee_shm *shm);
 /**
  * tee_shm_va2pa() - Get physical address of a virtual address
  * @shm:       Shared memory handle
- * @va:                Virtual address to tranlsate
+ * @va:                Virtual address to translate
  * @pa:                Returned physical address
  * @returns 0 on success and < 0 on failure
  */
@@ -244,7 +244,7 @@ int tee_shm_va2pa(struct tee_shm *shm, void *va, phys_addr_t *pa);
 /**
  * tee_shm_pa2va() - Get virtual address of a physical address
  * @shm:       Shared memory handle
- * @pa:                Physical address to tranlsate
+ * @pa:                Physical address to translate
  * @va:                Returned virtual address
  * @returns 0 on success and < 0 on failure
  */
index c33b586d757c5cf599a2c9ef19dd38b395849d3b..f067e7e1704ed69852733c34fca9b4ddd9dd9e6c 100644 (file)
@@ -102,7 +102,7 @@ int optee_from_msg_param(struct tee_param *params, size_t num_params,
  * optee_to_msg_param() - convert from struct tee_params to OPTEE_MSG parameters
  * @msg_params:        OPTEE_MSG parameters
  * @num_params:        number of elements in the parameter arrays
- * @params:    subsystem itnernal parameter representation
+ * @params:    subsystem internal parameter representation
  * Returns 0 on success or <0 on failure
  */
 int optee_to_msg_param(struct optee_msg_param *msg_params, size_t num_params,
index 77ed245fc5c4a5b7e70801fa3d659fcfebe57260..41489e252ecf18c063344a22908b3e0a67758014 100644 (file)
@@ -67,7 +67,7 @@
 #define OPTEE_MSG_ATTR_META                    BIT(8)
 
 /*
- * The temporary shared memory object is not physically contigous and this
+ * The temporary shared memory object is not physically contiguous and this
  * temp memref is followed by another fragment until the last temp memref
  * that doesn't have this bit set.
  */
@@ -318,7 +318,7 @@ struct optee_msg_arg {
  * struct optee_msg_arg::arg holds values defined by OPTEE_MSG_RPC_CMD_* below
  *
  * RPC communication with tee-supplicant is reversed compared to normal
- * client communication desribed above. The supplicant receives requests
+ * client communication described above. The supplicant receives requests
  * and sends responses.
  */
 
index a06819961e1841a29190dd5f9289b1e0fa9a19a5..ba3161e6930271a2cf2a0c3985090fb5f082e397 100644 (file)
@@ -153,7 +153,7 @@ struct optee_smc_calls_revision_result {
  *                                     optee_msg_arg.
  * OPTEE_SMC_RETURN_ETHREAD_LIMIT      Number of Trusted OS threads exceeded,
  *                                     try again later.
- * OPTEE_SMC_RETURN_EBADADDR           Bad physcial pointer to struct
+ * OPTEE_SMC_RETURN_EBADADDR           Bad physicial pointer to struct
  *                                     optee_msg_arg.
  * OPTEE_SMC_RETURN_EBADCMD            Bad/unknown cmd in struct optee_msg_arg
  * OPTEE_SMC_RETURN_IS_RPC()           Call suspended by RPC call to normal
index 89b1c070a694c74eb980e193f9bdebf73b173f77..6bcb52f3b21ec1790db2e471227cc4d7b7ecc972 100644 (file)
--- a/tee_shm.c
+++ b/tee_shm.c
@@ -367,7 +367,7 @@ EXPORT_SYMBOL_GPL(tee_shm_free);
 /**
  * tee_shm_va2pa() - Get physical address of a virtual address
  * @shm:       Shared memory handle
- * @va:                Virtual address to tranlsate
+ * @va:                Virtual address to translate
  * @pa:                Returned physical address
  * @returns 0 on success and < 0 on failure
  */
@@ -389,7 +389,7 @@ EXPORT_SYMBOL_GPL(tee_shm_va2pa);
 /**
  * tee_shm_pa2va() - Get virtual address of a physical address
  * @shm:       Shared memory handle
- * @pa:                Physical address to tranlsate
+ * @pa:                Physical address to translate
  * @va:                Returned virtual address
  * @returns 0 on success and < 0 on failure
  */