Skip to contentSkip to conversation

optee: Fix spelling mistake "reclain" -> "reclaim"

PATCH In review Colin Ian King 3 participants 3 messages Oct 23, 2021 – Oct 28, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 optee: Fix spelling mistake "reclain" -> "reclaim"

There are spelling mistakes in pr_err error messages. Fix them.

---
 drivers/tee/optee/ffa_abi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/tee/optee/ffa_abi.c +2 -2
index 6defd1ec982a..45424824e0f9 100644
@@ -333,7 +333,7 @@ static int optee_ffa_shm_unregister(struct tee_context *ctx,
 
 	rc = ffa_ops->memory_reclaim(global_handle, 0);
 	if (rc)
-		pr_err("mem_reclain: 0x%llx %d", global_handle, rc);
+		pr_err("mem_reclaim: 0x%llx %d", global_handle, rc);
 
 	return rc;
 }
@@ -355,7 +355,7 @@ static int optee_ffa_shm_unregister_supp(struct tee_context *ctx,
 	optee_shm_rem_ffa_handle(optee, global_handle);
 	rc = ffa_ops->memory_reclaim(global_handle, 0);
 	if (rc)
-		pr_err("mem_reclain: 0x%llx %d", global_handle, rc);
+		pr_err("mem_reclaim: 0x%llx %d", global_handle, rc);
 
 	shm->sec_world_id = 0;
 
Signature · 1 line
2.32.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Colin Ian King

There are spelling mistakes in pr_err error messages. Fix them.

---
 drivers/tee/optee/ffa_abi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-Sumit

Quoted 25 lines
drivers/tee/optee/ffa_abi.c +2 -3
index 6defd1ec982a..45424824e0f9 100644
@@ -333,7 +333,7 @@ static int optee_ffa_shm_unregister(struct tee_context *ctx,
 
        rc = ffa_ops->memory_reclaim(global_handle, 0);
        if (rc)
-               pr_err("mem_reclain: 0x%llx %d", global_handle, rc);
+               pr_err("mem_reclaim: 0x%llx %d", global_handle, rc);
 
        return rc;
 }
@@ -355,7 +355,7 @@ static int optee_ffa_shm_unregister_supp(struct tee_context *ctx,
        optee_shm_rem_ffa_handle(optee, global_handle);
        rc = ffa_ops->memory_reclaim(global_handle, 0);
        if (rc)
-               pr_err("mem_reclain: 0x%llx %d", global_handle, rc);
+               pr_err("mem_reclaim: 0x%llx %d", global_handle, rc);
 
        shm->sec_world_id = 0;
 
--

2.32.0