* [PATCH] openrisc: fix typos in comments
@ 2026-09-04 11:57 Hemanth Selam
0 siblings, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:57 UTC (permalink / raw)
To: Jonas Bonn, Stefan Kristiansson, Stafford Horne
Cc: linux-kernel, linux-openrisc
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/openrisc/kernel/entry.S | 6 +++---
arch/openrisc/kernel/head.S | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/openrisc/kernel/entry.S b/arch/openrisc/kernel/entry.S
index 18e68680471e..0aade79e796a 100644
--- a/arch/openrisc/kernel/entry.S
+++ b/arch/openrisc/kernel/entry.S
@@ -231,7 +231,7 @@ handler: ;\
/*
* NOTE: one should never assume that SPR_EPC, SPR_ESR, SPR_EEAR
* contain the same values as when exception we're handling
- * occured. in fact they never do. if you need them use
+ * occurred. in fact they never do. if you need them use
* values saved on stack (for SPR_EPC, SPR_ESR) or content
* of r4 (for SPR_EEAR). for details look at EXCEPTION_HANDLE()
* in 'arch/openrisc/kernel/head.S'
@@ -1056,8 +1056,8 @@ ENTRY(ret_from_fork)
*/
-/* _switch MUST never lay on page boundry, cause it runs from
- * effective addresses and beeing interrupted by iTLB miss would kill it.
+/* _switch MUST never lay on page boundary, cause it runs from
+ * effective addresses and being interrupted by iTLB miss would kill it.
* dTLB miss seems to never accour in the bad place since data accesses
* are from task structures which are always page aligned.
*
diff --git a/arch/openrisc/kernel/head.S b/arch/openrisc/kernel/head.S
index d5befd632fa9..60840dd109d2 100644
--- a/arch/openrisc/kernel/head.S
+++ b/arch/openrisc/kernel/head.S
@@ -91,7 +91,7 @@
#endif
/*
- * TLB miss handlers temorary stores
+ * TLB miss handlers temporary stores
*/
#ifdef CONFIG_OPENRISC_HAVE_SHADOW_GPRS
#define EXCEPTION_STORE_GPR2 l.mtspr r0,r2,SPR_SHADOW_GPR(2)
@@ -194,7 +194,7 @@
*
* PRMS: handler - a function to jump to. it has to save the
* remaining registers to kernel stack, call
- * appropriate arch-independant exception handler
+ * appropriate arch-independent exception handler
* and finaly jump to ret_from_except
*
* PREQ: unchanged state from the time exception happened
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] openrisc: fix typos in comments
2022-04-30 19:11 Julia Lawall
@ 2022-04-30 22:42 ` Stafford Horne
0 siblings, 0 replies; 3+ messages in thread
From: Stafford Horne @ 2022-04-30 22:42 UTC (permalink / raw)
To: Julia Lawall
Cc: Jonas Bonn, kernel-janitors, Stefan Kristiansson, openrisc, linux-kernel
On Sat, Apr 30, 2022 at 09:11:22PM +0200, Julia Lawall wrote:
> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> ---
> arch/openrisc/mm/tlb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/openrisc/mm/tlb.c b/arch/openrisc/mm/tlb.c
> index 2b6feabf6381..e2f2a3c3bb22 100644
> --- a/arch/openrisc/mm/tlb.c
> +++ b/arch/openrisc/mm/tlb.c
> @@ -128,7 +128,7 @@ void local_flush_tlb_mm(struct mm_struct *mm)
>
> /* Was seeing bugs with the mm struct passed to us. Scrapped most of
> this function. */
> - /* Several architctures do this */
> + /* Several architectures do this */
> local_flush_tlb_all();
> }
Thanks I have queued this for 5.19.
-Stafford
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] openrisc: fix typos in comments
@ 2022-04-30 19:11 Julia Lawall
2022-04-30 22:42 ` Stafford Horne
0 siblings, 1 reply; 3+ messages in thread
From: Julia Lawall @ 2022-04-30 19:11 UTC (permalink / raw)
To: Jonas Bonn
Cc: kernel-janitors, Stefan Kristiansson, Stafford Horne, openrisc,
linux-kernel
Various spelling mistakes in comments.
Detected with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
arch/openrisc/mm/tlb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/openrisc/mm/tlb.c b/arch/openrisc/mm/tlb.c
index 2b6feabf6381..e2f2a3c3bb22 100644
--- a/arch/openrisc/mm/tlb.c
+++ b/arch/openrisc/mm/tlb.c
@@ -128,7 +128,7 @@ void local_flush_tlb_mm(struct mm_struct *mm)
/* Was seeing bugs with the mm struct passed to us. Scrapped most of
this function. */
- /* Several architctures do this */
+ /* Several architectures do this */
local_flush_tlb_all();
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-04 11:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 11:57 [PATCH] openrisc: fix typos in comments Hemanth Selam
-- strict thread matches above, loose matches on Subject: below --
2022-04-30 19:11 Julia Lawall
2022-04-30 22:42 ` Stafford Horne
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®