Commit 1b73a9e4 authored by Colin Ian King's avatar Colin Ian King Committed by Jens Wiklander

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

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

Fixes: 4615e5a3 ("optee: add FF-A support")
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Reviewed-by: default avatarSumit Garg <sumit.garg@linaro.org>
[jw: added a fixes]
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent 4615e5a3
...@@ -333,7 +333,7 @@ static int optee_ffa_shm_unregister(struct tee_context *ctx, ...@@ -333,7 +333,7 @@ static int optee_ffa_shm_unregister(struct tee_context *ctx,
rc = ffa_ops->memory_reclaim(global_handle, 0); rc = ffa_ops->memory_reclaim(global_handle, 0);
if (rc) if (rc)
pr_err("mem_reclain: 0x%llx %d", global_handle, rc); pr_err("mem_reclaim: 0x%llx %d", global_handle, rc);
return rc; return rc;
} }
...@@ -355,7 +355,7 @@ static int optee_ffa_shm_unregister_supp(struct tee_context *ctx, ...@@ -355,7 +355,7 @@ static int optee_ffa_shm_unregister_supp(struct tee_context *ctx,
optee_shm_rem_ffa_handle(optee, global_handle); optee_shm_rem_ffa_handle(optee, global_handle);
rc = ffa_ops->memory_reclaim(global_handle, 0); rc = ffa_ops->memory_reclaim(global_handle, 0);
if (rc) 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; shm->sec_world_id = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment