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