projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9fc6f
)
bonding: convert bond_procfs.c to use netdev_printk instead of pr_
author
Veaceslav Falico
<vfalico@gmail.com>
Tue, 15 Jul 2014 17:36:07 +0000
(19:36 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 16 Jul 2014 06:15:59 +0000
(23:15 -0700)
CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_procfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bonding/bond_procfs.c
b/drivers/net/bonding/bond_procfs.c
index b215b479bb3a6917ffd6d37f30f989996d176f5b..de62c0385dfb06309a5fa4b4aff3f524a099ebe3 100644
(file)
--- a/
drivers/net/bonding/bond_procfs.c
+++ b/
drivers/net/bonding/bond_procfs.c
@@
-252,8
+252,8
@@
void bond_create_proc_entry(struct bonding *bond)
S_IRUGO, bn->proc_dir,
&bond_info_fops, bond);
if (bond->proc_entry == NULL)
-
pr_warn("Warning:
Cannot create /proc/net/%s/%s\n",
- DRV_NAME, bond_dev->name);
+
netdev_warn(bond_dev, "
Cannot create /proc/net/%s/%s\n",
+
DRV_NAME, bond_dev->name);
else
memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ);
}