MIPS: fix typos and repeated words in comments
Subsystems (2)
cover MIPS: fix typos and repeated words in comments
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(-)
Signature · 1 line
2.48.1
PATCH 1/2 MIPS: fix typos in comments
Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- arch/mips/include/asm/mach-loongson64/boot_param.h | 2 +- arch/mips/n64/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/mips/include/asm/mach-loongson64/boot_param.h +1 -1
@@ -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. */
arch/mips/n64/init.c +1 -1
@@ -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)
Signature · 1 line
2.48.1
PATCH 2/2 MIPS: fix repeated words in comments
In reply to Hemanth SelamDrop words accidentally written twice, reported by checkpatch.pl as a possible repeated word. Only touches comments, no code changes.
--- arch/mips/cavium-octeon/octeon-memcpy.S | 2 +- arch/mips/lib/memcpy.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/mips/cavium-octeon/octeon-memcpy.S +1 -1
@@ -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 *
arch/mips/lib/memcpy.S +1 -1
@@ -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 *
Signature · 1 line
2.48.1
Thomas Bogendoerfer
maintainerQuoted 26 lines · Hemanth Selam
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.plagainst the list inscripts/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_64defconfig at v7.3-rc1-269-gbc35965f6940, which is clean. Nothing else was built, so any patch touching code thatx86_64defconfig does not compile has been read but not compiled.Hemanth Selam (2):
MIPS: fix typos in comments
MIPS: fix repeated words in comments
Quoted 5 lines
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(-)
series applied to mips-next
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]