summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_procfs.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-02-16 00:57:04 +0100
committerDavid S. Miller <davem@davemloft.net>2014-02-17 06:29:23 +0100
commit91565ebbcc5aea69d4d6cb3832f52da03dbd44b6 (patch)
tree0cf8f7fa8df59e766ed7749d2a201cb08de8b635 /drivers/net/bonding/bond_procfs.c
parentcaif: delete unnecessary field initialization (diff)
downloadlinux-91565ebbcc5aea69d4d6cb3832f52da03dbd44b6.tar.xz
linux-91565ebbcc5aea69d4d6cb3832f52da03dbd44b6.zip
bonding: Convert pr_warning to pr_warn, neatening
Use more current logging style. Coalesce formats, realign arguments, drop unnecessary periods. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_procfs.c')
-rw-r--r--drivers/net/bonding/bond_procfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c
index 3ac20e78eafc..f86fcc796757 100644
--- a/drivers/net/bonding/bond_procfs.c
+++ b/drivers/net/bonding/bond_procfs.c
@@ -254,8 +254,8 @@ void bond_create_proc_entry(struct bonding *bond)
S_IRUGO, bn->proc_dir,
&bond_info_fops, bond);
if (bond->proc_entry == NULL)
- pr_warning("Warning: Cannot create /proc/net/%s/%s\n",
- DRV_NAME, bond_dev->name);
+ pr_warn("Warning: Cannot create /proc/net/%s/%s\n",
+ DRV_NAME, bond_dev->name);
else
memcpy(bond->proc_file_name, bond_dev->name, IFNAMSIZ);
}
@@ -281,8 +281,8 @@ void __net_init bond_create_proc_dir(struct bond_net *bn)
if (!bn->proc_dir) {
bn->proc_dir = proc_mkdir(DRV_NAME, bn->net->proc_net);
if (!bn->proc_dir)
- pr_warning("Warning: cannot create /proc/net/%s\n",
- DRV_NAME);
+ pr_warn("Warning: cannot create /proc/net/%s\n",
+ DRV_NAME);
}
}