* [PATCH] net: arc: trivial: Replace comma with a semicolon
@ 2016-05-25 22:40 Marek Vasut
2016-05-26 5:13 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2016-05-25 22:40 UTC (permalink / raw)
To: netdev; +Cc: Marek Vasut, David S . Miller, Caesar Wang, Heiko Stuebner
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.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Caesar Wang <wxt@rock-chips.com>
Cc: Heiko Stuebner <heiko@sntech.de>
---
drivers/net/ethernet/arc/emac_mdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/arc/emac_mdio.c b/drivers/net/ethernet/arc/emac_mdio.c
index 16419f5..058460b 100644
--- a/drivers/net/ethernet/arc/emac_mdio.c
+++ b/drivers/net/ethernet/arc/emac_mdio.c
@@ -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;
--
2.7.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: arc: trivial: Replace comma with a semicolon
2016-05-25 22:40 [PATCH] net: arc: trivial: Replace comma with a semicolon Marek Vasut
@ 2016-05-26 5:13 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-05-26 5:13 UTC (permalink / raw)
To: marex; +Cc: netdev, wxt, heiko
From: Marek Vasut <marex@denx.de>
Date: Thu, 26 May 2016 00:40:05 +0200
> 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.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-26 5:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25 22:40 [PATCH] net: arc: trivial: Replace comma with a semicolon Marek Vasut
2016-05-26 5:13 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.