* [PATCH 0/2] MIPS: fix typos and repeated words in comments
@ 2026-09-04 12:49 Hemanth Selam
2026-09-04 12:49 ` [PATCH 1/2] MIPS: fix typos " Hemanth Selam
2026-09-04 12:49 ` [PATCH 2/2] MIPS: fix repeated words " Hemanth Selam
0 siblings, 2 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:49 UTC (permalink / raw)
Cc: linux-kernel
This corrects 2 misspellings and repeated words in comments. Each is a
separate patch so that any one of them can be dropped without touching
the rest.
Nothing outside comments changes. Every touched C file was checked by
dropping its comments, replacing each string literal with a placeholder
and collapsing whitespace; what remained was identical before and after,
so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in
scripts/spelling.txt. The scanning, the edits and the changelogs were
produced with Cursor running the claude-opus-5 model, from a request to
find and fix spelling mistakes across the tree, and every correction was
then re-checked by the comparison described above. Words that name an
identifier were left alone deliberately, even when they read as typos,
because correcting the prose would make the comment disagree with the
code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which
is clean. Nothing else was built, so any patch touching code that
x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (2):
MIPS: fix typos in comments
MIPS: fix repeated words in comments
arch/mips/cavium-octeon/octeon-memcpy.S | 2 +-
arch/mips/include/asm/mach-loongson64/boot_param.h | 2 +-
arch/mips/lib/memcpy.S | 2 +-
arch/mips/n64/init.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] MIPS: fix typos in comments
2026-09-04 12:49 [PATCH 0/2] MIPS: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-04 12:49 ` Hemanth Selam
2026-09-04 12:49 ` [PATCH 2/2] MIPS: fix repeated words " Hemanth Selam
1 sibling, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:49 UTC (permalink / raw)
To: Huacai Chen, Jiaxun Yang, Thomas Bogendoerfer; +Cc: linux-kernel, linux-mips
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/mips/include/asm/mach-loongson64/boot_param.h | 2 +-
arch/mips/n64/init.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/include/asm/mach-loongson64/boot_param.h b/arch/mips/include/asm/mach-loongson64/boot_param.h
index 3a11ce85762b..3e5c2b3a7f9b 100644
--- a/arch/mips/include/asm/mach-loongson64/boot_param.h
+++ b/arch/mips/include/asm/mach-loongson64/boot_param.h
@@ -24,7 +24,7 @@
struct efi_memory_map_loongson {
u16 vers; /* version of efi_memory_map */
u32 nr_map; /* number of memory_maps */
- u32 mem_freq; /* memory frequence */
+ u32 mem_freq; /* memory frequency */
struct mem_map {
u32 node_id; /* node_id which memory attached to */
u32 mem_type; /* system memory, pci memory, pci io, etc. */
diff --git a/arch/mips/n64/init.c b/arch/mips/n64/init.c
index 66ec28ab41f3..ddbd7d1224d3 100644
--- a/arch/mips/n64/init.c
+++ b/arch/mips/n64/init.c
@@ -20,7 +20,7 @@
#define IO_MEM_RESOURCE_END 0x1fffffffUL
/*
- * System-specifc irq names for clarity
+ * System-specific irq names for clarity
*/
#define MIPS_CPU_IRQ(x) (MIPS_CPU_IRQ_BASE + (x))
#define MIPS_SOFTINT0_IRQ MIPS_CPU_IRQ(0)
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] MIPS: fix repeated words in comments
2026-09-04 12:49 [PATCH 0/2] MIPS: fix typos and repeated words in comments Hemanth Selam
2026-09-04 12:49 ` [PATCH 1/2] MIPS: fix typos " Hemanth Selam
@ 2026-09-04 12:49 ` Hemanth Selam
1 sibling, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:49 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: linux-kernel, linux-mips
Drop words accidentally written twice, reported by checkpatch.pl as a
possible repeated word. Only touches comments, no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
arch/mips/cavium-octeon/octeon-memcpy.S | 2 +-
arch/mips/lib/memcpy.S | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/cavium-octeon/octeon-memcpy.S b/arch/mips/cavium-octeon/octeon-memcpy.S
index fef0c6de3fa1..fb27126afc56 100644
--- a/arch/mips/cavium-octeon/octeon-memcpy.S
+++ b/arch/mips/cavium-octeon/octeon-memcpy.S
@@ -60,7 +60,7 @@
* 3- (dst - src) == (dst_entry - src_entry),
* The _entry suffix denotes values when __copy_user was called.
*
- * (1) is set up up by uaccess.h and maintained by not writing AT in copy_user
+ * (1) is set up by uaccess.h and maintained by not writing AT in copy_user
* (2) is met by incrementing src by the number of bytes copied
* (3) is met by not doing loads between a pair of increments of dst and src
*
diff --git a/arch/mips/lib/memcpy.S b/arch/mips/lib/memcpy.S
index 84f85aba6f4b..49408c0049f2 100644
--- a/arch/mips/lib/memcpy.S
+++ b/arch/mips/lib/memcpy.S
@@ -79,7 +79,7 @@
* 3- (dst - src) == (dst_entry - src_entry),
* The _entry suffix denotes values when __copy_user was called.
*
- * (1) is set up up by uaccess.h and maintained by not writing AT in copy_user
+ * (1) is set up by uaccess.h and maintained by not writing AT in copy_user
* (2) is met by incrementing src by the number of bytes copied
* (3) is met by not doing loads between a pair of increments of dst and src
*
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-04 12:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 12:49 [PATCH 0/2] MIPS: fix typos and repeated words in comments Hemanth Selam
2026-09-04 12:49 ` [PATCH 1/2] MIPS: fix typos " Hemanth Selam
2026-09-04 12:49 ` [PATCH 2/2] MIPS: fix repeated words " Hemanth Selam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®