Skip to content

Commit

Permalink
iucv: Convert pr_warning to pr_warn
Browse files Browse the repository at this point in the history
Use the more common pr_warn.
Coalesce formats.
Realign arguments.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Joe Perches authored and David S. Miller committed Sep 10, 2014
1 parent 294a0b7 commit 47c4cfc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions net/iucv/iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,8 @@ static void iucv_declare_cpu(void *data)
err = "Paging or storage error";
break;
}
pr_warning("Defining an interrupt buffer on CPU %i"
" failed with 0x%02x (%s)\n", cpu, rc, err);
pr_warn("Defining an interrupt buffer on CPU %i failed with 0x%02x (%s)\n",
cpu, rc, err);
return;
}

Expand Down Expand Up @@ -1831,7 +1831,7 @@ static void iucv_external_interrupt(struct ext_code ext_code,
BUG_ON(p->iptype < 0x01 || p->iptype > 0x09);
work = kmalloc(sizeof(struct iucv_irq_list), GFP_ATOMIC);
if (!work) {
pr_warning("iucv_external_interrupt: out of memory\n");
pr_warn("iucv_external_interrupt: out of memory\n");
return;
}
memcpy(&work->data, p, sizeof(work->data));
Expand Down Expand Up @@ -1974,8 +1974,7 @@ static int iucv_pm_restore(struct device *dev)
printk(KERN_WARNING "iucv_pm_restore %p\n", iucv_path_table);
#endif
if ((iucv_pm_state != IUCV_PM_RESTORING) && iucv_path_table)
pr_warning("Suspending Linux did not completely close all IUCV "
"connections\n");
pr_warn("Suspending Linux did not completely close all IUCV connections\n");
iucv_pm_state = IUCV_PM_RESTORING;
if (cpumask_empty(&iucv_irq_cpumask)) {
rc = iucv_query_maxconn();
Expand Down

0 comments on commit 47c4cfc

Please sign in to comment.