* [PATCH 1/2] MIPS: fix typos in comments
[not found] <20260904124922.10256-1-hemanth.selam@gmail.com>
@ 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; 2+ 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 related [flat|nested] 2+ messages in thread* [PATCH 2/2] MIPS: fix repeated words in comments
[not found] <20260904124922.10256-1-hemanth.selam@gmail.com>
2026-09-04 12:49 ` [PATCH 1/2] MIPS: fix typos in comments Hemanth Selam
@ 2026-09-04 12:49 ` Hemanth Selam
1 sibling, 0 replies; 2+ 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 related [flat|nested] 2+ messages in thread