[PATCH][next] net: dsa: microchip: ksz9477: Fix spelling mistake "Enery" -> "Energy"

Colin Ian King posted 1 patch 2 years, 1 month ago
drivers/net/dsa/microchip/ksz9477.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] net: dsa: microchip: ksz9477: Fix spelling mistake "Enery" -> "Energy"
Posted by Colin Ian King 2 years, 1 month ago
There is a spelling mistake in a dev_dbg message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/net/dsa/microchip/ksz9477.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip/ksz9477.c
index 2534c3d122e4..b102a27960e1 100644
--- a/drivers/net/dsa/microchip/ksz9477.c
+++ b/drivers/net/dsa/microchip/ksz9477.c
@@ -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);
 }
-- 
2.39.2
Re: [PATCH][next] net: dsa: microchip: ksz9477: Fix spelling mistake "Enery" -> "Energy"
Posted by Jakub Kicinski 2 years, 1 month ago
On Thu, 26 Oct 2023 07:54:08 +0100 Colin Ian King wrote:
> There is a spelling mistake in a dev_dbg message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Applied, thanks.
-- 
pw-bot: accept
Re: [PATCH][next] net: dsa: microchip: ksz9477: Fix spelling mistake "Enery" -> "Energy"
Posted by Vladimir Oltean 2 years, 1 month ago
Colin,

On Thu, Oct 26, 2023 at 07:54:08AM +0100, Colin Ian King wrote:
> There is a spelling mistake in a dev_dbg message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---

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

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>

>  drivers/net/dsa/microchip/ksz9477.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip/ksz9477.c
> index 2534c3d122e4..b102a27960e1 100644
> --- a/drivers/net/dsa/microchip/ksz9477.c
> +++ b/drivers/net/dsa/microchip/ksz9477.c
> @@ -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);
>  }
> -- 
> 2.39.2
>
Re: [PATCH][next] net: dsa: microchip: ksz9477: Fix spelling mistake "Enery" -> "Energy"
Posted by Simon Horman 2 years, 1 month ago
On Thu, Oct 26, 2023 at 07:54:08AM +0100, Colin Ian King wrote:
> There is a spelling mistake in a dev_dbg message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Thanks Colin,

I noticed this one too.

Reviewed-by: Simon Horman <horms@kernel.org>