mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] xtensa: fix typos in comments
@ 2026-09-04 11:54 Hemanth Selam
  2026-09-04 13:54 ` Max Filippov
  0 siblings, 1 reply; 2+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:54 UTC (permalink / raw)
  To: Chris Zankel, Max Filippov; +Cc: linux-kernel

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/xtensa/include/uapi/asm/mman.h | 2 +-
 arch/xtensa/kernel/entry.S          | 2 +-
 arch/xtensa/kernel/vectors.S        | 2 +-
 arch/xtensa/mm/init.c               | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/xtensa/include/uapi/asm/mman.h b/arch/xtensa/include/uapi/asm/mman.h
index 99d4ccee7f6e..aa64ab9109c5 100644
--- a/arch/xtensa/include/uapi/asm/mman.h
+++ b/arch/xtensa/include/uapi/asm/mman.h
@@ -96,7 +96,7 @@
 #define MADV_HUGEPAGE	14		/* Worth backing with hugepages */
 #define MADV_NOHUGEPAGE	15		/* Not worth backing with hugepages */
 
-#define MADV_DONTDUMP   16		/* Explicity exclude from the core dump,
+#define MADV_DONTDUMP   16		/* Explicitly exclude from the core dump,
 					   overrides the coredump filter bits */
 #define MADV_DODUMP	17		/* Clear the MADV_NODUMP flag */
 
diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S
index 272fff587907..49b4c9eca80e 100644
--- a/arch/xtensa/kernel/entry.S
+++ b/arch/xtensa/kernel/entry.S
@@ -1671,7 +1671,7 @@ ENTRY(fast_second_level_miss)
 	 * This allows to map the three most common regions to three different
 	 * DTLBs:
 	 *  0,1 -> way 7	program (0040.0000) and virtual (c000.0000)
-	 *  2   -> way 8	shared libaries (2000.0000)
+	 *  2   -> way 8	shared libraries (2000.0000)
 	 *  3   -> way 0	stack (3000.0000)
 	 */
 
diff --git a/arch/xtensa/kernel/vectors.S b/arch/xtensa/kernel/vectors.S
index 1073fe4a584d..063a6acc64e9 100644
--- a/arch/xtensa/kernel/vectors.S
+++ b/arch/xtensa/kernel/vectors.S
@@ -21,7 +21,7 @@
  * use a first-level dispatch table to dispatch the exception to a registered
  * fast handler or the default handler, if no fast handler was registered.
  * The default handler sets up a C-stack and dispatches the exception to a
- * registerd C handler in the second-level dispatch table.
+ * registered C handler in the second-level dispatch table.
  *
  * Fast handler entry condition:
  *
diff --git a/arch/xtensa/mm/init.c b/arch/xtensa/mm/init.c
index fe83a68335da..7b5f82932a45 100644
--- a/arch/xtensa/mm/init.c
+++ b/arch/xtensa/mm/init.c
@@ -43,7 +43,7 @@ void __init bootmem_init(void)
 	 * accounting doesn't work for pages below that address.
 	 *
 	 * If PHYS_OFFSET is zero reserve page at address 0:
-	 * successfull allocations should never return NULL.
+	 * successful allocations should never return NULL.
 	 */
 	memblock_reserve(0, PHYS_OFFSET ? PHYS_OFFSET : 1);
 
-- 
2.48.1


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

* Re: [PATCH] xtensa: fix typos in comments
  2026-09-04 11:54 [PATCH] xtensa: fix typos in comments Hemanth Selam
@ 2026-09-04 13:54 ` Max Filippov
  0 siblings, 0 replies; 2+ messages in thread
From: Max Filippov @ 2026-09-04 13:54 UTC (permalink / raw)
  To: Hemanth Selam; +Cc: Chris Zankel, linux-kernel

On Fri, Sep 4, 2026 at 4:54 AM Hemanth Selam <hemanth.selam@gmail.com> wrote:
>
> 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/xtensa/include/uapi/asm/mman.h | 2 +-
>  arch/xtensa/kernel/entry.S          | 2 +-
>  arch/xtensa/kernel/vectors.S        | 2 +-
>  arch/xtensa/mm/init.c               | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)

Applied to my xtensa tree.

-- 
Thanks.
-- Max

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 11:54 [PATCH] xtensa: fix typos in comments Hemanth Selam
2026-09-04 13:54 ` Max Filippov

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®