Skip to contentSkip to conversation

net: Fix typo of "software" in driver comments

PATCH In review Yicong Hui 2 participants 2 messages Dec 25, 2025 – Jan 6

Subsystems (4)
lore
Share & tools
lore

Yicong Hui

author
#0 lore raw

PATCH 1/1 net: Fix typo of "software" in driver comments

Fix misspelling of "software" as "softare" and "sotware" in code comments

---
 drivers/net/ethernet/emulex/benet/be_hw.h | 2 +-
 drivers/net/ethernet/micrel/ks8842.c      | 2 +-
 drivers/net/xen-netback/hash.c            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/ethernet/emulex/benet/be_hw.h +1 -1
index 3476194f0855..5b953800d94d 100644
@@ -16,7 +16,7 @@
  * The software must write this register twice to post any command. First,
  * it writes the register with hi=1 and the upper bits of the physical address
  * for the MAILBOX structure. Software must poll the ready bit until this
- * is acknowledged. Then, sotware writes the register with hi=0 with the lower
+ * is acknowledged. Then, software writes the register with hi=0 with the lower
  * bits in the address. It must poll the ready bit until the command is
  * complete. Upon completion, the MAILBOX will contain a valid completion
  * queue entry.
drivers/net/ethernet/micrel/ks8842.c +1 -1
index 541c41a9077a..936658bc61c5 100644
@@ -242,7 +242,7 @@ static void ks8842_reset(struct ks8842_adapter *adapter)
 		msleep(10);
 		iowrite16(0, adapter->hw_addr + REG_GRR);
 	} else {
-		/* The KS8842 goes haywire when doing softare reset
+		/* The KS8842 goes haywire when doing software reset
 		* a work around in the timberdale IP is implemented to
 		* do a hardware reset instead
 		ks8842_write16(adapter, 3, 1, REG_GRR);
drivers/net/xen-netback/hash.c +1 -1
index 45ddce35f6d2..c6b2eba3511b 100644
@@ -3,7 +3,7 @@
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License version 2
- * as published by the Free Softare Foundation; or, when distributed
+ * as published by the Free Software Foundation; or, when distributed
  * separately from the Linux kernel or incorporated into other
  * software packages, subject to the following license:
  *
Signature · 1 line
2.52.0
reviewer
#1 lore raw
Quoted 7 lines · Yicong Hui

Fix misspelling of "software" as "softare" and "sotware" in code comments

---
 drivers/net/ethernet/emulex/benet/be_hw.h | 2 +-
 drivers/net/ethernet/micrel/ks8842.c      | 2 +-
 drivers/net/xen-netback/hash.c            | 2 +-

Hi Yicong Hui,

Thanks for your patch.

According to codespell, both the benet and ks8842 drivers also have other spelling mistakes. So I think it would make sense to make a patch set, with per-driver, or perhaps per-directory, patches that fix all spelling errors in each driver (or directory).

Also, I'd lean towards this being for net-next rather than net as I don't think these changes are use-visible.

	Subject: [PATCH net-next v2 0/3] ...

Thanks!