[next] net: microchip: lan743x: Fix spelling mistake "erro" -> "error"

Message ID 20240220091737.2676984-1-colin.i.king@gmail.com
State New
Headers
Series [next] net: microchip: lan743x: Fix spelling mistake "erro" -> "error" |

Commit Message

Colin Ian King Feb. 20, 2024, 9:17 a.m. UTC
  There is a spelling mistake in a netif_err message. Fix it.

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

Comments

Simon Horman Feb. 22, 2024, 1:54 p.m. UTC | #1
On Tue, Feb 20, 2024 at 09:17:37AM +0000, Colin Ian King wrote:
> There is a spelling mistake in a netif_err message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  drivers/net/ethernet/microchip/lan743x_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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

FWIIW, confirm is mispelt twice in comments in the same file.
But unlike the problem addressed here, it is not user visible.
  
patchwork-bot+netdevbpf@kernel.org Feb. 23, 2024, 3:10 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 20 Feb 2024 09:17:37 +0000 you wrote:
> There is a spelling mistake in a netif_err message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  drivers/net/ethernet/microchip/lan743x_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [next] net: microchip: lan743x: Fix spelling mistake "erro" -> "error"
    https://git.kernel.org/netdev/net-next/c/cbe30f99431d

You are awesome, thank you!
  

Patch

diff --git a/drivers/net/ethernet/microchip/lan743x_main.c b/drivers/net/ethernet/microchip/lan743x_main.c
index 45e209a7d083..bd8aa83b47e5 100644
--- a/drivers/net/ethernet/microchip/lan743x_main.c
+++ b/drivers/net/ethernet/microchip/lan743x_main.c
@@ -1196,7 +1196,7 @@  static int lan743x_sgmii_config(struct lan743x_adapter *adapter)
 	ret = lan743x_is_sgmii_2_5G_mode(adapter, &status);
 	if (ret < 0) {
 		netif_err(adapter, drv, adapter->netdev,
-			  "erro %d SGMII get mode failed\n", ret);
+			  "error %d SGMII get mode failed\n", ret);
 		return ret;
 	}