Skip to contentSkip to conversation

net: arc: trivial: Replace comma with a semicolon

PATCH Applied Marek Vasut 2 participants 2 messages May 25, 2016 – May 26, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: arc: trivial: Replace comma with a semicolon

Fix a typo in the driver, replace comma with a semicolon at the end of statement. While using comma is a legal C here and probably does not even generate compiler warning, it was unlikely the intention.

Cc David S. Miller <[email protected]>
Cc Caesar Wang <[email protected]>
Cc Heiko Stuebner <[email protected]>
---
 drivers/net/ethernet/arc/emac_mdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/arc/emac_mdio.c +1 -1
index 16419f5..058460b 100644
@@ -141,7 +141,7 @@ int arc_mdio_probe(struct arc_emac_priv *priv)
 	priv->bus = bus;
 	bus->priv = priv;
 	bus->parent = priv->dev;
-	bus->name = "Synopsys MII Bus",
+	bus->name = "Synopsys MII Bus";
 	bus->read = &arc_mdio_read;
 	bus->write = &arc_mdio_write;
 	bus->reset = &arc_mdio_reset;
Signature · 1 line
2.7.0
maintainer Applied
#1 lore raw

From: Marek Vasut <[email protected]>
Date: Thu, 26 May 2016 00:40:05 +0200

Quoted 5 lines

Fix a typo in the driver, replace comma with a semicolon at the end of statement. While using comma is a legal C here and probably does not even generate compiler warning, it was unlikely the intention.

Applied.