Skip to contentSkip to conversation

net: dsa: microchip: ksz9477: Fix spelling mistake "Enery" -> "Energy"

PATCH Applied Colin Ian King 4 participants 4 messages Oct 26, 2023 – Oct 27, 2023

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

PATCH 1/1 net: dsa: microchip: ksz9477: Fix spelling mistake "Enery" -> "Energy"

There is a spelling mistake in a dev_dbg message. Fix it.

---
 drivers/net/dsa/microchip/ksz9477.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/microchip/ksz9477.c +1 -1
index 2534c3d122e4..b102a27960e1 100644
@@ -83,7 +83,7 @@ static int ksz9477_handle_wake_reason(struct ksz_device *dev, int port)
 
 	dev_dbg(dev->dev, "Wake event on port %d due to:%s%s\n", port,
 		pme_status & PME_WOL_LINKUP ? " \"Link Up\"" : "",
-		pme_status & PME_WOL_ENERGY ? " \"Enery detect\"" : "");
+		pme_status & PME_WOL_ENERGY ? " \"Energy detect\"" : "");
 
 	return ksz_pwrite8(dev, port, REG_PORT_PME_STATUS, pme_status);
 }
Signature · 1 line
2.39.2
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Colin Ian King

Colin,

Quoted 4 lines · Colin Ian King

There is a spelling mistake in a dev_dbg message. Fix it.

---

If the patch is 1 day old, please also copy the original patch author.

Quoted 19 lines
 drivers/net/dsa/microchip/ksz9477.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/microchip/ksz9477.c +1 -1
index 2534c3d122e4..b102a27960e1 100644
@@ -83,7 +83,7 @@ static int ksz9477_handle_wake_reason(struct ksz_device *dev, int port)
 
 	dev_dbg(dev->dev, "Wake event on port %d due to:%s%s\n", port,
 		pme_status & PME_WOL_LINKUP ? " \"Link Up\"" : "",
-		pme_status & PME_WOL_ENERGY ? " \"Enery detect\"" : "");
+		pme_status & PME_WOL_ENERGY ? " \"Energy detect\"" : "");
 
 	return ksz_pwrite8(dev, port, REG_PORT_PME_STATUS, pme_status);
 }
Signature · 1 line
2.39.2