net: dsa: microchip: ksz9477: Fix spelling mistake "Enery" -> "Energy"
Subsystems (5)
PATCH 1/1 net: dsa: microchip: ksz9477: Fix spelling mistake "Enery" -> "Energy"
There is a spelling mistake in a dev_dbg message. Fix it.
Signed-off-by Colin Ian King <[email protected]>
--- drivers/net/dsa/microchip/ksz9477.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/microchip/ksz9477.c +1 -1
@@ -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
Quoted 3 lines · Colin Ian King
There is a spelling mistake in a
dev_dbgmessage. Fix it.Signed-off-by Colin Ian King <[email protected]>
Thanks Colin,
I noticed this one too.
Reviewed-by Simon Horman <[email protected]>
Colin,
Quoted 4 lines · Colin Ian King
There is a spelling mistake in a
dev_dbgmessage. Fix it.Signed-off-by Colin Ian King <[email protected]>---
If the patch is 1 day old, please also copy the original patch author.
Reviewed-by Vladimir Oltean <[email protected]>
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@@ -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
Quoted 3 lines · On Thu, 26 Oct 2023 07:54:08 +0100 Colin Ian King wrote:
There is a spelling mistake in a
dev_dbgmessage. Fix it.Signed-off-by Colin Ian King <[email protected]>
Applied, thanks.
Signature · 1 line
pw-bot: accept