optee: Fix spelling mistake "reclain" -> "reclaim"
authorColin Ian King <colin.i.king@googlemail.com>
Sat, 23 Oct 2021 11:52:09 +0000 (12:52 +0100)
committerJens Wiklander <jens.wiklander@linaro.org>
Thu, 28 Oct 2021 09:41:39 +0000 (11:41 +0200)
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>
drivers/tee/optee/ffa_abi.c

index 6defd1ec982a4d004c5ecdbf19b709c462d70d2d..45424824e0f9fc9a56727801ff94cde574ec4c72 100644 (file)
@@ -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;