2023-03-29 09:41:31

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] optee: Fix spelling mistake "Unuspported" -> "Unsupported"

There is a spelling mistake in a #error message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/tee/optee/call.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tee/optee/call.c b/drivers/tee/optee/call.c
index 290b1bb0e9cd..df5fb5410b72 100644
--- a/drivers/tee/optee/call.c
+++ b/drivers/tee/optee/call.c
@@ -488,7 +488,7 @@ static bool is_normal_memory(pgprot_t p)
#elif defined(CONFIG_ARM64)
return (pgprot_val(p) & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL);
#else
-#error "Unuspported architecture"
+#error "Unsupported architecture"
#endif
}

--
2.30.2


2023-03-29 09:46:40

by Sumit Garg

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

On Wed, 29 Mar 2023 at 15:02, Colin Ian King <[email protected]> wrote:
>
> There is a spelling mistake in a #error message. Fix it.

Thanks for catching it, it has already been fixed as part of this PR [1].

[1] https://lore.kernel.org/lkml/20230314184441.GA2936721@rayden/T/

-Sumit

>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/tee/optee/call.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tee/optee/call.c b/drivers/tee/optee/call.c
> index 290b1bb0e9cd..df5fb5410b72 100644
> --- a/drivers/tee/optee/call.c
> +++ b/drivers/tee/optee/call.c
> @@ -488,7 +488,7 @@ static bool is_normal_memory(pgprot_t p)
> #elif defined(CONFIG_ARM64)
> return (pgprot_val(p) & PTE_ATTRINDX_MASK) == PTE_ATTRINDX(MT_NORMAL);
> #else
> -#error "Unuspported architecture"
> +#error "Unsupported architecture"
> #endif
> }
>
> --
> 2.30.2
>