diff options
author | Veaceslav Falico <vfalico@gmail.com> | 2014-07-15 21:36:07 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-16 10:15:59 +0400 |
commit | c735ee6c4376663f1a7a281c837d839037792748 (patch) | |
tree | 9b82efeeaf7e5bff6f09c3a72894940e396e701a | |
parent | 6a9fc6f14a3c183a1a9df6d4a5e6ecb11beafb82 (diff) | |
download | linux-c735ee6c4376663f1a7a281c837d839037792748.tar.xz |
bonding: convert bond_procfs.c to use netdev_printk instead of pr_
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>
-rw-r--r-- | drivers/net/bonding/bond_procfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c index b215b479bb3a..de62c0385dfb 100644 --- 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); } |