Skip to contentSkip to conversation

riscv/head: fix misspelling of guaranteed

PATCH In review hasheddan 2 participants 2 messages Nov 20, 2021 – Jan 7, 2022 RISC-V

lore
Share & tools
lore

hasheddan

author
#0 lore raw

PATCH 1/1 riscv/head: fix misspelling of guaranteed

Fixes misspelling of guaranteed in comment describing why fetching fence is guaranteed to work when switching to kernel page tables.

---
 arch/riscv/kernel/head.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/head.S +1 -1
index f52f01ecbeea..469eccd3780f 100644
@@ -135,7 +135,7 @@ relocate:
 	/*
 	 * Switch to kernel page tables.  A full fence is necessary in order to
 	 * avoid using the trampoline translations, which are only correct for
-	 * the first superpage.  Fetching the fence is guarnteed to work
+	 * the first superpage.  Fetching the fence is guaranteed to work
 	 * because that first superpage is translated the same way.
 	 */
 	csrw CSR_SATP, a2
Signature · 7 lines
2.25.1


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
maintainer
#1 lore raw
Quoted 13 lines · On Sat, 20 Nov 2021 06:26:05 PST (-0800), [email protected] wrote:

Fixes misspelling of guaranteed in comment describing why fetching fence is guaranteed to work when switching to kernel page tables.

---
 arch/riscv/kernel/head.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/head.S +0 -0
index f52f01ecbeea..469eccd3780f 100644

arch/riscv/kernel/head.S relocate: · line 141

Quoted 8 lines
arch/riscv/kernel/head.S +1 -1
@@ -135,7 +135,7 @@ relocate:
 	/*
 	 * Switch to kernel page tables.  A full fence is necessary in order to
 	 * avoid using the trampoline translations, which are only correct for
-	 * the first superpage.  Fetching the fence is guarnteed to work
+	 * the first superpage.  Fetching the fence is guaranteed to work
 	 * because that first superpage is translated the same way.
 	 */
 	csrw CSR_SATP, a2

Thanks, this is on for-next.