Skip to contentSkip to conversation

net: jme: fix typos in comments

PATCH Applied Mark Sercombe 3 participants 3 messages Aug 13 – Aug 17

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: jme: fix typos in comments

Fix several spelling mistakes in code comments in the jme driver:
These are comment only changes with no functional impact.

---
 drivers/net/ethernet/jme.c | 4 ++--
 drivers/net/ethernet/jme.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/ethernet/jme.c +2 -2
index 25ec5f757c68..31affb8e270a 100644
@@ -826,7 +826,7 @@ jme_setup_rx_resources(struct jme_adapter *jme)
 		goto err_free_rxring;
 
 	/*
-	 * Initiallize Receive Descriptors
+	 * Initialize Receive Descriptors
 	 */
 	for (i = 0 ; i < jme->rx_ring_size ; ++i) {
 		if (unlikely(jme_make_new_rx_buf(jme, i))) {
@@ -1740,7 +1740,7 @@ jme_phy_calibration(struct jme_adapter *jme)
 
 	jme_phy_off(jme);
 	jme_phy_on(jme);
-	/*  Enabel PHY test mode 1 */
+	/*  Enable PHY test mode 1 */
 	ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000);
 	ctrl1000 &= ~PHY_GAD_TEST_MODE_MSK;
 	ctrl1000 |= PHY_GAD_TEST_MODE_1;
drivers/net/ethernet/jme.h +2 -2
index 860494ff3714..83a2f8ef6fda 100644
@@ -465,7 +465,7 @@ jme_napi_priv(struct napi_struct *napi)
 }
 
 /*
- * MMaped I/O Resters
+ * MMaped I/O Registers
  */
 enum jme_iomap_offsets {
 	JME_MAC		= 0x0000,
@@ -660,7 +660,7 @@ enum jme_rxcs_bit_masks {
 	RXCS_WAKEUP	= 0x00000040, /* Enable receive wakeup packet */
 	RXCS_MAGIC	= 0x00000020, /* Enable receive magic packet */
 	RXCS_SHORT	= 0x00000010, /* Enable receive short packet */
-	RXCS_ABORT	= 0x00000008, /* Enable receive errorr packet */
+	RXCS_ABORT	= 0x00000008, /* Enable receive error packet */
 	RXCS_QST	= 0x00000004, /* Receive queue start */
 	RXCS_SUSPEND	= 0x00000002,
 	RXCS_ENABLE	= 0x00000001,
Signature · 1 line
2.55.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Mark Sercombe

Fix several spelling mistakes in code comments in the jme driver:
These are comment only changes with no functional impact.

---
 drivers/net/ethernet/jme.c | 4 ++--
 drivers/net/ethernet/jme.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Thanks,

With these changes these files are now codespell-clean.

...

maintainer Applied
#2 lore raw
In reply to Mark Sercombe
Quoted 2 lines · On Thu, 13 Aug 2026 19:36:34 +0200 Mark Sercombe wrote:

Fix several spelling mistakes in code comments in the jme driver:
These are comment only changes with no functional impact.

Applied, thanks

Signature · 1 line
pw-bot: accept