diff options
author | Veaceslav Falico <vfalico@gmail.com> | 2014-07-15 19:36:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-16 08:15:59 +0200 |
commit | c735ee6c4376663f1a7a281c837d839037792748 (patch) | |
tree | 9b82efeeaf7e5bff6f09c3a72894940e396e701a /drivers/net/bonding | |
parent | bonding: bonding: remove pr_fmt from bond_netlink.c (diff) | |
download | linux-c735ee6c4376663f1a7a281c837d839037792748.tar.xz linux-c735ee6c4376663f1a7a281c837d839037792748.zip |
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>
Diffstat (limited to 'drivers/net/bonding')
-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); } |