summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/microchip/sparx5/sparx5_port.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2022-05-21 13:10:20 +0200
committerDavid S. Miller <davem@davemloft.net>2022-05-22 20:44:29 +0100
commit1f36a72ae347bc922bddf9382b608afa47a25a28 (patch)
treefb9380698a08c1f2ee319ed7aadc4ffa69af26db /drivers/net/ethernet/microchip/sparx5/sparx5_port.c
parentaa5334b1f96801cd09775217a72ff252ef614d7a (diff)
downloadlinux-1f36a72ae347bc922bddf9382b608afa47a25a28.tar.gz
net: sparx5: switchdev: fix typo in comment
Spelling mistake (triple letters) in comment. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/microchip/sparx5/sparx5_port.c')
-rw-r--r--drivers/net/ethernet/microchip/sparx5/sparx5_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/microchip/sparx5/sparx5_port.c b/drivers/net/ethernet/microchip/sparx5/sparx5_port.c
index 189a6a0a2e08..32709d21ab2f 100644
--- a/drivers/net/ethernet/microchip/sparx5/sparx5_port.c
+++ b/drivers/net/ethernet/microchip/sparx5/sparx5_port.c
@@ -742,7 +742,7 @@ static int sparx5_port_pcs_low_set(struct sparx5 *sparx5,
if (err)
return -EINVAL;
} else {
- sgmii = true; /* Phy is connnected to the MAC */
+ sgmii = true; /* Phy is connected to the MAC */
}
/* Choose SGMII or 1000BaseX/2500BaseX PCS mode */