2021-10-23 11:56:20

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] optee: Fix spelling mistake "reclain" -> "reclaim"

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

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/tee/optee/ffa_abi.c | 4 ++--
1 file 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;

--
2.32.0


2021-10-25 08:45:57

by Sumit Garg

[permalink] [raw]
Subject: Re: [PATCH][next] optee: Fix spelling mistake "reclain" -> "reclaim"

On Sat, 23 Oct 2021 at 17:22, Colin Ian King
<[email protected]> wrote:
>
> There are spelling mistakes in pr_err error messages. Fix them.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/tee/optee/ffa_abi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Sumit Garg <[email protected]>

-Sumit

> 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;
>
> --
> 2.32.0
>

2021-10-28 18:54:14

by Jens Wiklander

[permalink] [raw]
Subject: Re: [PATCH][next] optee: Fix spelling mistake "reclain" -> "reclaim"

On Mon, Oct 25, 2021 at 10:43 AM Sumit Garg <[email protected]> wrote:
>
> On Sat, 23 Oct 2021 at 17:22, Colin Ian King
> <[email protected]> wrote:
> >
> > There are spelling mistakes in pr_err error messages. Fix them.
> >
> > Signed-off-by: Colin Ian King <[email protected]>
> > ---
> > drivers/tee/optee/ffa_abi.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
>
> Reviewed-by: Sumit Garg <[email protected]>

I'm picking up this.

Thanks,
Jens