[PATCH] arm/mm: fix typos

Andrew Kreimer algonell at gmail.com
Mon Sep 9 03:28:51 PDT 2024


Fix typos in comments.

Reported-by: Matthew Wilcox <willy at infradead.org>
Signed-off-by: Andrew Kreimer <algonell at gmail.com>
---
 arch/arm/mm/kasan_init.c | 2 +-
 arch/arm/mm/pmsa-v7.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mm/kasan_init.c b/arch/arm/mm/kasan_init.c
index 111d4f703136..b394b14838c3 100644
--- a/arch/arm/mm/kasan_init.c
+++ b/arch/arm/mm/kasan_init.c
@@ -215,7 +215,7 @@ void __init kasan_init(void)
 	/*
 	 * We are going to perform proper setup of shadow memory.
 	 *
-	 * At first we should unmap early shadow (clear_pgds() call bellow).
+	 * At first we should unmap early shadow (clear_pgds() call below).
 	 * However, instrumented code can't execute without shadow memory.
 	 *
 	 * To keep the early shadow memory MMU tables around while setting up
diff --git a/arch/arm/mm/pmsa-v7.c b/arch/arm/mm/pmsa-v7.c
index 59d916ccdf25..4844ae40d4bc 100644
--- a/arch/arm/mm/pmsa-v7.c
+++ b/arch/arm/mm/pmsa-v7.c
@@ -434,7 +434,7 @@ void __init pmsav7_setup(void)
 		/*
                  * In case we overwrite RAM region we set earlier in
                  * head-nommu.S (which is cachable) all subsequent
-                 * data access till we setup RAM bellow would be done
+                 * data access till we setup RAM below would be done
                  * with BG region (which is uncachable), thus we need
                  * to clean and invalidate cache.
 		 */
-- 
2.46.0




More information about the linux-arm-kernel mailing list