Skip to contentSkip to conversation

optee: Fix spelling mistake "Unuspported" -> "Unsupported"

PATCH In review Colin Ian King 2 participants 2 messages Mar 29, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 optee: Fix spelling mistake "Unuspported" -> "Unsupported"

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

---
 drivers/tee/optee/call.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tee/optee/call.c +1 -1
index 290b1bb0e9cd..df5fb5410b72 100644
@@ -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
 }
 
Signature · 1 line
2.30.2
#1 lore raw
Quoted 2 lines · Colin Ian King

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(a)rayden/T/

-Sumit

Quoted 22 lines
---
 drivers/tee/optee/call.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tee/optee/call.c +1 -2
index 290b1bb0e9cd..df5fb5410b72 100644
@@ -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