drivers/net: Convert remaining uses of pr_warning to pr_warn
Use the much more common pr_warn instead of pr_warning. Other miscellanea: o Typo fixes submiting/submitting o Coalesce formats o Realign arguments o Add missing terminating '\n' to formats 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
46cfd725c3
commit
fe3881cf7e
@@ -956,7 +956,7 @@ static int tile_net_open_aux(struct net_device *dev)
|
||||
*/
|
||||
if (hv_dev_pwrite(priv->hv_devhdl, 0, (HV_VirtAddr)&dummy,
|
||||
sizeof(dummy), NETIO_IPP_START_SHIM_OFF) < 0) {
|
||||
pr_warning("Failed to start LIPP/LEPP.\n");
|
||||
pr_warn("Failed to start LIPP/LEPP\n");
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
@@ -2399,8 +2399,7 @@ static int __init network_cpus_setup(char *str)
|
||||
{
|
||||
int rc = cpulist_parse_crop(str, &network_cpus_map);
|
||||
if (rc != 0) {
|
||||
pr_warning("network_cpus=%s: malformed cpu list\n",
|
||||
str);
|
||||
pr_warn("network_cpus=%s: malformed cpu list\n", str);
|
||||
} else {
|
||||
|
||||
/* Remove dedicated cpus. */
|
||||
@@ -2409,8 +2408,7 @@ static int __init network_cpus_setup(char *str)
|
||||
|
||||
|
||||
if (cpumask_empty(&network_cpus_map)) {
|
||||
pr_warning("Ignoring network_cpus='%s'.\n",
|
||||
str);
|
||||
pr_warn("Ignoring network_cpus='%s'\n", str);
|
||||
} else {
|
||||
char buf[1024];
|
||||
cpulist_scnprintf(buf, sizeof(buf), &network_cpus_map);
|
||||
|
Reference in New Issue
Block a user