projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abaf98e
)
bonding: convert bond_debugfs.c to use netdev_printk instead of pr_
author
Veaceslav Falico
<
[email protected]
>
Tue, 15 Jul 2014 17:36:04 +0000
(19:36 +0200)
committer
David S. Miller
<
[email protected]
>
Wed, 16 Jul 2014 06:15:58 +0000
(23:15 -0700)
One occurance left intact as it's unrelated to net_device.
CC: Jay Vosburgh <
[email protected]
>
CC: Andy Gospodarek <
[email protected]
>
Signed-off-by: Veaceslav Falico <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/bonding/bond_debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/net/bonding/bond_debugfs.c
b/drivers/net/bonding/bond_debugfs.c
index 658e761c4568dff39ef18db8c548f8ed349c8ee0..280971b227ea461788797d35b98145699eee52e4 100644
(file)
--- a/
drivers/net/bonding/bond_debugfs.c
+++ b/
drivers/net/bonding/bond_debugfs.c
@@
-69,8
+69,7
@@
void bond_debug_register(struct bonding *bond)
debugfs_create_dir(bond->dev->name, bonding_debug_root);
if (!bond->debug_dir) {
- pr_warn("%s: Warning: failed to register to debugfs\n",
- bond->dev->name);
+ netdev_warn(bond->dev, "failed to register to debugfs\n");
return;
}
@@
-98,8
+97,7
@@
void bond_debug_reregister(struct bonding *bond)
if (d) {
bond->debug_dir = d;
} else {
- pr_warn("%s: Warning: failed to reregister, so just unregister old one\n",
- bond->dev->name);
+ netdev_warn(bond->dev, "failed to reregister, so just unregister old one\n");
bond_debug_unregister(bond);
}
}