bonding: Neaten pr_<level>
Add missing terminating newlines. Convert uses of pr_info to pr_cont in bond_check_params. Standardize upper/lower case styles. Typo fixes, remove unnecessary parentheses and periods. Alignment neatening. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
91565ebbcc
commit
90194264ce
@@ -181,7 +181,7 @@ static int bond_changelink(struct net_device *bond_dev,
|
||||
int arp_interval = nla_get_u32(data[IFLA_BOND_ARP_INTERVAL]);
|
||||
|
||||
if (arp_interval && miimon) {
|
||||
pr_err("%s: ARP monitoring cannot be used with MII monitoring.\n",
|
||||
pr_err("%s: ARP monitoring cannot be used with MII monitoring\n",
|
||||
bond->dev->name);
|
||||
return -EINVAL;
|
||||
}
|
||||
@@ -207,7 +207,7 @@ static int bond_changelink(struct net_device *bond_dev,
|
||||
i++;
|
||||
}
|
||||
if (i == 0 && bond->params.arp_interval)
|
||||
pr_warn("%s: removing last arp target with arp_interval on\n",
|
||||
pr_warn("%s: Removing last arp target with arp_interval on\n",
|
||||
bond->dev->name);
|
||||
if (err)
|
||||
return err;
|
||||
@@ -216,7 +216,7 @@ static int bond_changelink(struct net_device *bond_dev,
|
||||
int arp_validate = nla_get_u32(data[IFLA_BOND_ARP_VALIDATE]);
|
||||
|
||||
if (arp_validate && miimon) {
|
||||
pr_err("%s: ARP validating cannot be used with MII monitoring.\n",
|
||||
pr_err("%s: ARP validating cannot be used with MII monitoring\n",
|
||||
bond->dev->name);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user