diff options
author | Joe Perches <joe@perches.com> | 2014-02-15 23:57:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-17 05:29:23 (GMT) |
commit | 91565ebbcc5aea69d4d6cb3832f52da03dbd44b6 (patch) | |
tree | 0cf8f7fa8df59e766ed7749d2a201cb08de8b635 /drivers/net/bonding/bond_procfs.c | |
parent | 327cdedaf6e6334aeb219df5a68da5e6906ee72e (diff) | |
download | linux-91565ebbcc5aea69d4d6cb3832f52da03dbd44b6.tar.xz |
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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c index 3ac20e7..f86fcc7 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); } } |