2023-10-26 06:54:24

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] 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(-)

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


2023-10-26 07:45:04

by Simon Horman

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

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 <[email protected]>

Thanks Colin,

I noticed this one too.

Reviewed-by: Simon Horman <[email protected]>

2023-10-26 08:49:13

by Vladimir Oltean

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

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 <[email protected]>
> ---

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

Reviewed-by: Vladimir Oltean <[email protected]>

> 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
>

2023-10-27 23:05:44

by Jakub Kicinski

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

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 <[email protected]>

Applied, thanks.
--
pw-bot: accept