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