summaryrefslogtreecommitdiff
path: root/drivers/tee
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@googlemail.com>2021-10-23 12:52:09 +0100
committerJens Wiklander <jens.wiklander@linaro.org>2021-10-28 11:41:39 +0200
commit1b73a9e4986a4e9065bacf1e5ab2dfda17b54161 (patch)
treecc14e86be7ab0ec11a51d305b47455ca5535267a /drivers/tee
parent4615e5a34b95e0d81467f6d2176f19a5d184cb5d (diff)
optee: Fix spelling mistake "reclain" -> "reclaim"
There are spelling mistakes in pr_err error messages. Fix them. Fixes: 4615e5a34b95 ("optee: add FF-A support") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> [jw: added a fixes] Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/tee')
-rw-r--r--drivers/tee/optee/ffa_abi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tee/optee/ffa_abi.c b/drivers/tee/optee/ffa_abi.c
index 6defd1ec982a..45424824e0f9 100644
--- a/drivers/tee/optee/ffa_abi.c
+++ b/drivers/tee/optee/ffa_abi.c
@@ -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;