projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a64cd6
)
mdio: fix non-constant printk warnings
author
Stephen Hemminger
<shemminger@vyatta.com>
Thu, 26 Feb 2009 10:19:36 +0000
(10:19 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Feb 2009 06:22:03 +0000
(22:22 -0800)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/mdio_bus.c
b/drivers/net/phy/mdio_bus.c
index bb29ae3ff17dc6765fac1db21c532c1c5660b93c..b754020cbe75c731c1da255082fe382a59e1bf72 100644
(file)
--- a/
drivers/net/phy/mdio_bus.c
+++ b/
drivers/net/phy/mdio_bus.c
@@
-99,7
+99,7
@@
int mdiobus_register(struct mii_bus *bus)
bus->dev.parent = bus->parent;
bus->dev.class = &mdio_bus_class;
bus->dev.groups = NULL;
- dev_set_name(&bus->dev, bus->id);
+ dev_set_name(&bus->dev,
"%s",
bus->id);
err = device_register(&bus->dev);
if (err) {