SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH 1/2] sh: fix typos in comments
       [not found] <20260904124148.4575-1-hemanth.selam@gmail.com>
@ 2026-09-04 12:41 ` Hemanth Selam
  2026-09-04 12:41 ` [PATCH 2/2] sh: fix repeated word 'with' in comment Hemanth Selam
  1 sibling, 0 replies; 2+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:41 UTC (permalink / raw)
  To: Yoshinori Sato, Rich Felker, John Paul Adrian Glaubitz
  Cc: linux-kernel, linux-sh

Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 arch/sh/kernel/relocate_kernel.S | 2 +-
 arch/sh/mm/cache-sh4.c           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sh/kernel/relocate_kernel.S b/arch/sh/kernel/relocate_kernel.S
index d9bf2b727b42..deda2f60a8f2 100644
--- a/arch/sh/kernel/relocate_kernel.S
+++ b/arch/sh/kernel/relocate_kernel.S
@@ -3,7 +3,7 @@
  * relocate_kernel.S - put the kernel image in place to boot
  * 2005.9.17 kogiidena@eggplant.ddo.jp
  *
- * LANDISK/sh4 is supported. Maybe, SH archtecture works well.
+ * LANDISK/sh4 is supported. Maybe, SH architecture works well.
  *
  * 2009-03-18 Magnus Damm - Added Kexec Jump support
  */
diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c
index 8bc9ce541c14..0c205923e88f 100644
--- a/arch/sh/mm/cache-sh4.c
+++ b/arch/sh/mm/cache-sh4.c
@@ -354,7 +354,7 @@ static void __flush_cache_one(unsigned long addr, unsigned long phys,
 
 	/*
 	 * We know there will be >=1 iteration, so write as do-while to avoid
-	 * pointless nead-of-loop check for 0 iterations.
+	 * pointless head-of-loop check for 0 iterations.
 	 */
 	do {
 		ea = base_addr + PAGE_SIZE;
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] sh: fix repeated word 'with' in comment
       [not found] <20260904124148.4575-1-hemanth.selam@gmail.com>
  2026-09-04 12:41 ` [PATCH 1/2] sh: fix typos in comments Hemanth Selam
@ 2026-09-04 12:41 ` Hemanth Selam
  1 sibling, 0 replies; 2+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:41 UTC (permalink / raw)
  To: Yoshinori Sato, Rich Felker, John Paul Adrian Glaubitz
  Cc: linux-kernel, linux-sh

Drop the second 'with', reported by checkpatch.pl as a possible repeated
word.  Only touches a comment, no code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 arch/sh/kernel/head_32.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sh/kernel/head_32.S b/arch/sh/kernel/head_32.S
index 0b91bb85d40a..95ca80b760cc 100644
--- a/arch/sh/kernel/head_32.S
+++ b/arch/sh/kernel/head_32.S
@@ -106,7 +106,7 @@ ENTRY(_stext)
  * PMB entries. This clearing also deals with the fact that PMB entries
  * can persist across reboots. The PMB could have been left in any state
  * when the reboot occurred, so to be safe we clear all entries and start
- * with with a clean slate.
+ * with a clean slate.
  *
  * The uncached mapping is constructed using the smallest possible
  * mapping with a single unbufferable page. Only the kernel text needs to
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-04 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260904124148.4575-1-hemanth.selam@gmail.com>
2026-09-04 12:41 ` [PATCH 1/2] sh: fix typos in comments Hemanth Selam
2026-09-04 12:41 ` [PATCH 2/2] sh: fix repeated word 'with' in comment Hemanth Selam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox