Linux Hexagon architecture development
 help / color / mirror / Atom feed
* [PATCH] Hexagon: fix typos in comments
@ 2022-03-18 10:36 Julia Lawall
  0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2022-03-18 10:36 UTC (permalink / raw)
  To: Brian Cain; +Cc: kernel-janitors, linux-hexagon, linux-kernel

Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 arch/hexagon/kernel/module.c |    2 +-
 arch/hexagon/mm/vm_tlb.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/hexagon/kernel/module.c b/arch/hexagon/kernel/module.c
index cb3bf19b0640..62ab39027360 100644
--- a/arch/hexagon/kernel/module.c
+++ b/arch/hexagon/kernel/module.c
@@ -43,7 +43,7 @@ int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
 			found = i+1;
 	}
 
-	/* At this time, we don't support modules comiled with -shared */
+	/* At this time, we don't support modules compiled with -shared */
 	if (found) {
 		printk(KERN_WARNING
 			"Module '%s' contains unexpected .plt/.got sections.\n",
diff --git a/arch/hexagon/mm/vm_tlb.c b/arch/hexagon/mm/vm_tlb.c
index 53482f2a9ff9..5b6673353120 100644
--- a/arch/hexagon/mm/vm_tlb.c
+++ b/arch/hexagon/mm/vm_tlb.c
@@ -46,7 +46,7 @@ void flush_tlb_one(unsigned long vaddr)
  */
 void tlb_flush_all(void)
 {
-	/*  should probably use that fixaddr end or whateve label  */
+	/*  should probably use that fixaddr end or whatever label  */
 	__vmclrmap(0, 0xffff0000);
 }
 


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

* [PATCH] hexagon: fix typos in comments
@ 2026-09-04 10:56 Hemanth Selam
  0 siblings, 0 replies; 2+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:56 UTC (permalink / raw)
  To: Brian Cain; +Cc: linux-kernel, linux-hexagon

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/hexagon/include/asm/hexagon_vm.h | 2 +-
 arch/hexagon/lib/memcpy.S             | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/hexagon/include/asm/hexagon_vm.h b/arch/hexagon/include/asm/hexagon_vm.h
index 9aa2493fe786..1a65dc6213b7 100644
--- a/arch/hexagon/include/asm/hexagon_vm.h
+++ b/arch/hexagon/include/asm/hexagon_vm.h
@@ -239,7 +239,7 @@ static inline long __vmintop_clear(long i)
 #define HVM_EV_GENEX		2
 #define HVM_EV_TRAP		8
 #define HVM_EV_INTR		15
-/* These shoud be nuked as soon as we know the VM is up to spec v0.1.1 */
+/* These should be nuked as soon as we know the VM is up to spec v0.1.1 */
 #define HVM_EV_INTR_0		16
 #define HVM_MAX_INTR		240
 
diff --git a/arch/hexagon/lib/memcpy.S b/arch/hexagon/lib/memcpy.S
index f8b3c02a8ad1..ae360be68b0d 100644
--- a/arch/hexagon/lib/memcpy.S
+++ b/arch/hexagon/lib/memcpy.S
@@ -291,7 +291,7 @@ memcpy:
 	if(noprolog) jump .Lnoprolog32;
 	align = offset;
 }
-/*  upto initial 7 bytes  */
+/*  up to initial 7 bytes  */
 {
 	ldata0 = valignb(dataF8, data70, align);
 	ifbyte = tstbit(shift,#3);
@@ -525,5 +525,5 @@ memcpy:
 	r25:24 = memd(sp+#8);	/*  restore r24+r25  */
 	r17:16 = memd(sp+#0);	/*  restore r16+r17  */
 }
-	deallocframe;	/*  restore r31 and incrment stack by 16  */
+	deallocframe;	/*  restore r31 and increment stack by 16  */
 	jumpr r31
-- 
2.48.1


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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 10:56 [PATCH] hexagon: fix typos in comments Hemanth Selam
  -- strict thread matches above, loose matches on Subject: below --
2022-03-18 10:36 [PATCH] Hexagon: " Julia Lawall

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