blob: 78b5d418e2092daf3d9fecb1b2838c3d9a336434 [file] [log] [blame]
Patrick Williams2194f502022-10-16 14:26:09 -05001From bf890db9200464083c44987cd41c034b1019fc5a Mon Sep 17 00:00:00 2001
2From: Colin Ian King <colin.i.king@googlemail.com>
3Date: Sat, 23 Oct 2021 12:52:09 +0100
4Subject: [PATCH 14/40] optee: Fix spelling mistake "reclain" -> "reclaim"
5
6There are spelling mistakes in pr_err error messages. Fix them.
7
8Fixes: 4615e5a34b95 ("optee: add FF-A support")
9Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
10Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
11[jw: added a fixes]
12Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
13Upstream-Status: Pending [Not submitted to upstream yet]
14Signed-off-by: Rupinderjit Singh <rupinderjit.singh@arm.com
15---
16 drivers/tee/optee/ffa_abi.c | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/drivers/tee/optee/ffa_abi.c b/drivers/tee/optee/ffa_abi.c
20index 6defd1ec982a..45424824e0f9 100644
21--- a/drivers/tee/optee/ffa_abi.c
22+++ b/drivers/tee/optee/ffa_abi.c
23@@ -333,7 +333,7 @@ static int optee_ffa_shm_unregister(struct tee_context *ctx,
24
25 rc = ffa_ops->memory_reclaim(global_handle, 0);
26 if (rc)
27- pr_err("mem_reclain: 0x%llx %d", global_handle, rc);
28+ pr_err("mem_reclaim: 0x%llx %d", global_handle, rc);
29
30 return rc;
31 }
32@@ -355,7 +355,7 @@ static int optee_ffa_shm_unregister_supp(struct tee_context *ctx,
33 optee_shm_rem_ffa_handle(optee, global_handle);
34 rc = ffa_ops->memory_reclaim(global_handle, 0);
35 if (rc)
36- pr_err("mem_reclain: 0x%llx %d", global_handle, rc);
37+ pr_err("mem_reclaim: 0x%llx %d", global_handle, rc);
38
39 shm->sec_world_id = 0;
40
41--
422.34.1
43