Skip to contentSkip to conversation

x86/mm/tlb: fix error word 'clleared' to 'cleared'

PATCH Superseded Xin Hao 2 participants 3 messages Sep 28, 2022 – Sep 29, 2022 x86

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Xin Hao

author
#0 lore raw

PATCH 1/1 x86/mm/tlb: fix error word 'clleared' to 'cleared'

Just correct the wrong word 'clleared' to 'cleared'

Fixes c9fe66560bf2 ("mm/mprotect: do not flush when not required architecturally")
---
 arch/x86/include/asm/tlbflush.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/tlbflush.h +1 -1
index cda3118f3b27..c80a15ef0cbc 100644
@@ -291,7 +291,7 @@ static inline bool pte_flags_need_flush(unsigned long oldflags,
 		diff &= ~_PAGE_ACCESSED;
 
 	/*
-	 * Did any of the 'flush_on_clear' flags was clleared set from between
+	 * Did any of the 'flush_on_clear' flags was cleared set from between
 	 * 'oldflags' and 'newflags'?
 	 */
 	if (diff & oldflags & flush_on_clear)
Signature · 1 line
2.31.0
#1 lore raw
Quoted 3 lines · Xin Hao

Just correct the wrong word 'clleared' to 'cleared'

Fixes c9fe66560bf2 ("mm/mprotect: do not flush when not required architecturally")

Please, don't ever use Fixes on a comment.

author
#2 lore raw
Quoted 5 lines · Peter Zijlstra
Quoted 3 lines · Xin Hao

Just correct the wrong word 'clleared' to 'cleared'

Fixes c9fe66560bf2 ("mm/mprotect: do not flush when not required architecturally")

Please, don't ever use Fixes on a comment.

Get it, Thanks.