mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hemanth Selam <hemanth.selam@gmail.com>
To: "David S. Miller" <davem@davemloft.net>,
	Andreas Larsson <andreas@gaisler.com>
Cc: linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org
Subject: [PATCH 1/2] sparc: fix typos in comments
Date: Fri,  4 Sep 2026 16:42:39 +0530	[thread overview]
Message-ID: <20260904111244.24636-2-hemanth.selam@gmail.com> (raw)
In-Reply-To: <20260904111244.24636-1-hemanth.selam@gmail.com>

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/sparc/include/asm/asm-prototypes.h |  2 +-
 arch/sparc/include/asm/bbc.h            |  2 +-
 arch/sparc/include/asm/hypervisor.h     | 10 +++++-----
 arch/sparc/kernel/head_64.S             |  2 +-
 arch/sparc/kernel/process_32.c          |  2 +-
 arch/sparc/kernel/process_64.c          |  2 +-
 arch/sparc/kernel/traps_64.c            |  2 +-
 arch/sparc/mm/init_64.c                 |  2 +-
 arch/sparc/prom/tree_32.c               |  2 +-
 9 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/arch/sparc/include/asm/asm-prototypes.h b/arch/sparc/include/asm/asm-prototypes.h
index a39a24c53216..51d5d218b42a 100644
--- a/arch/sparc/include/asm/asm-prototypes.h
+++ b/arch/sparc/include/asm/asm-prototypes.h
@@ -18,7 +18,7 @@
 void *__memscan_zero(void *, size_t);
 void *__memscan_generic(void *, int, size_t);
 void *__bzero(void *, size_t);
-void VISenter(void); /* Dummy prototype to supress warning */
+void VISenter(void); /* Dummy prototype to suppress warning */
 #undef memcpy
 #undef memset
 void *memcpy(void *dest, const void *src, size_t n);
diff --git a/arch/sparc/include/asm/bbc.h b/arch/sparc/include/asm/bbc.h
index 00a4f116144d..e82b59e1ae6f 100644
--- a/arch/sparc/include/asm/bbc.h
+++ b/arch/sparc/include/asm/bbc.h
@@ -87,7 +87,7 @@
 
 /* Watchdog Action register.  When the watchdog device timer expires
  * a line is enabled to the BBC.  The action BBC takes when this line
- * is asserted can be controlled by this regiser.
+ * is asserted can be controlled by this register.
  */
 #define BBC_WDACTION_RST  0x01	/* When set, watchdog causes system reset.
 				 * When clear, BBC ignores watchdog signal.
diff --git a/arch/sparc/include/asm/hypervisor.h b/arch/sparc/include/asm/hypervisor.h
index 94ac56d43746..1c5497189245 100644
--- a/arch/sparc/include/asm/hypervisor.h
+++ b/arch/sparc/include/asm/hypervisor.h
@@ -172,7 +172,7 @@ void sun4v_mach_sir(void);
  * Service Processor, and/or automatically restarting the gues.
  *
  * The 'timeout' parameter is specified in milliseconds, however the
- * implementated granularity is given by the 'watchdog-resolution'
+ * implemented granularity is given by the 'watchdog-resolution'
  * property in the 'platform' node of the guest's machine description.
  * The largest allowed timeout value is specified by the
  * 'watchdog-max-timeout' property of the 'platform' node.
@@ -1223,7 +1223,7 @@ unsigned long sun4v_con_write(unsigned long buffer,
  *
  * This allows the guest to report its soft state to the hypervisor.  There
  * are two primary components to this state.  The first part states whether
- * the guest software is running or not.  The second containts optional
+ * the guest software is running or not.  The second contains optional
  * details specific to the software.
  *
  * The software state argument is defined below in HV_SOFT_STATE_*, and
@@ -1585,7 +1585,7 @@ struct hv_trap_trace_entry {
  *			      "interrupts" property or "interrupt-map" property
  *			      in the OBP device tree for that device.
  *
- *	sysino		System interrupt number.  A 64-bit unsigned interger
+ *	sysino		System interrupt number.  A 64-bit unsigned integer
  *			representing a unique interrupt within a virtual
  *			machine.
  *
@@ -2925,7 +2925,7 @@ unsigned long sun4v_vintr_set_target(unsigned long dev_handle,
  * endpoint defined by the given channel ID.  The tail offset specified
  * must be aligned on a 64 byte boundary, and calculated so as to increase
  * the number of pending entries on the transmit queue.  Any attempt to
- * decrease the number of pending transmit queue entires is considered
+ * decrease the number of pending transmit queue entries is considered
  * an invalid tail offset and will result in an EINVAL error.
  *
  * Since the tail of the transmit queue may not be moved backwards, the
@@ -3017,7 +3017,7 @@ unsigned long sun4v_vintr_set_target(unsigned long dev_handle,
  * endpoint defined by the given channel ID.  The head offset specified
  * must be aligned on a 64 byte boundary, and calculated so as to decrease
  * the number of pending entries on the receive queue.  Any attempt to
- * increase the number of pending receive queue entires is considered
+ * increase the number of pending receive queue entries is considered
  * an invalid head offset and will result in an EINVAL error.
  *
  * The receive queue may be flushed by setting the head offset equal
diff --git a/arch/sparc/kernel/head_64.S b/arch/sparc/kernel/head_64.S
index cf0549134234..b8db806ad760 100644
--- a/arch/sparc/kernel/head_64.S
+++ b/arch/sparc/kernel/head_64.S
@@ -927,7 +927,7 @@ swapper_4m_tsb:
 	/* Some care needs to be exercised if you try to move the
 	 * location of the trap table relative to other things.  For
 	 * one thing there are br* instructions in some of the
-	 * trap table entires which branch back to code in ktlb.S
+	 * trap table entries which branch back to code in ktlb.S
 	 * Those instructions can only handle a signed 16-bit
 	 * displacement.
 	 *
diff --git a/arch/sparc/kernel/process_32.c b/arch/sparc/kernel/process_32.c
index dd8c6c02b0f1..d430ed632140 100644
--- a/arch/sparc/kernel/process_32.c
+++ b/arch/sparc/kernel/process_32.c
@@ -244,7 +244,7 @@ clone_stackframe(struct sparc_stackf __user *dst,
 
 /* Copy a Sparc thread.  The fork() return value conventions
  * under SunOS are nothing short of bletcherous:
- * Parent -->  %o0 == childs  pid, %o1 == 0
+ * Parent -->  %o0 == children  pid, %o1 == 0
  * Child  -->  %o0 == parents pid, %o1 == 1
  *
  * clone3() - Uses regular kernel return value conventions
diff --git a/arch/sparc/kernel/process_64.c b/arch/sparc/kernel/process_64.c
index e889da8e4835..a35100c608c5 100644
--- a/arch/sparc/kernel/process_64.c
+++ b/arch/sparc/kernel/process_64.c
@@ -562,7 +562,7 @@ void fault_in_user_windows(struct pt_regs *regs)
 
 /* Copy a Sparc thread.  The fork() return value conventions
  * under SunOS are nothing short of bletcherous:
- * Parent -->  %o0 == childs  pid, %o1 == 0
+ * Parent -->  %o0 == children  pid, %o1 == 0
  * Child  -->  %o0 == parents pid, %o1 == 1
  *
  * clone3() - Uses regular kernel return value conventions
diff --git a/arch/sparc/kernel/traps_64.c b/arch/sparc/kernel/traps_64.c
index 28cb0d66ab40..a69bc0dee6a6 100644
--- a/arch/sparc/kernel/traps_64.c
+++ b/arch/sparc/kernel/traps_64.c
@@ -1142,7 +1142,7 @@ static unsigned char cheetah_mtag_syntab[] = {
        NONE, NONE
 };
 
-/* Return the highest priority error conditon mentioned. */
+/* Return the highest priority error condition mentioned. */
 static inline unsigned long cheetah_get_hipri(unsigned long afsr)
 {
 	unsigned long tmp = 0;
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c
index 103db4683b16..43a774654ade 100644
--- a/arch/sparc/mm/init_64.c
+++ b/arch/sparc/mm/init_64.c
@@ -1291,7 +1291,7 @@ static int __init grab_mblocks(struct mdesc_handle *md)
 					 "address-congruence-offset", NULL);
 
 		/* The address-congruence-offset property is optional.
-		 * Explicity zero it be identifty this.
+		 * Explicitly zero it be identifty this.
 		 */
 		if (val)
 			m->offset = *val;
diff --git a/arch/sparc/prom/tree_32.c b/arch/sparc/prom/tree_32.c
index 0fed89375b74..422a69437447 100644
--- a/arch/sparc/prom/tree_32.c
+++ b/arch/sparc/prom/tree_32.c
@@ -200,7 +200,7 @@ phandle prom_searchsiblings(phandle node_start, char *nodename)
 }
 EXPORT_SYMBOL(prom_searchsiblings);
 
-/* Interal version of nextprop that does not alter return values. */
+/* Internal version of nextprop that does not alter return values. */
 static char *__prom_nextprop(phandle node, char * oprop)
 {
 	unsigned long flags;
-- 
2.48.1


  reply	other threads:[~2026-09-04 11:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-04 11:12 [PATCH 0/2] sparc: fix typos and repeated words " Hemanth Selam
2026-09-04 11:12 ` Hemanth Selam [this message]
2026-09-04 11:12 ` [PATCH 2/2] sparc: fix " Hemanth Selam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260904111244.24636-2-hemanth.selam@gmail.com \
    --to=hemanth.selam@gmail.com \
    --cc=andreas@gaisler.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®