powerpc: Use pr_warn instead of pr_warning
At some point, pr_warning will be removed so all logging messages use a consistent <prefix>_warn style. Update arch/powerpc/ Miscellanea: o Coalesce formats o Realign arguments o Use %s, __func__ instead of embedded function names o Remove unnecessary line continuations Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Geoff Levand <geoff@infradead.org> [mpe: Rebase due to some %pOF changes.] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committad av
Michael Ellerman

förälder
ae64f9bd1d
incheckning
f2c2cbcc35
@@ -243,8 +243,8 @@ void xics_migrate_irqs_away(void)
|
||||
|
||||
/* This is expected during cpu offline. */
|
||||
if (cpu_online(cpu))
|
||||
pr_warning("IRQ %u affinity broken off cpu %u\n",
|
||||
virq, cpu);
|
||||
pr_warn("IRQ %u affinity broken off cpu %u\n",
|
||||
virq, cpu);
|
||||
|
||||
/* Reset affinity to all cpus */
|
||||
raw_spin_unlock_irqrestore(&desc->lock, flags);
|
||||
@@ -466,7 +466,7 @@ void __init xics_init(void)
|
||||
rc = icp_opal_init();
|
||||
}
|
||||
if (rc < 0) {
|
||||
pr_warning("XICS: Cannot find a Presentation Controller !\n");
|
||||
pr_warn("XICS: Cannot find a Presentation Controller !\n");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -481,7 +481,7 @@ void __init xics_init(void)
|
||||
if (rc < 0)
|
||||
rc = ics_opal_init();
|
||||
if (rc < 0)
|
||||
pr_warning("XICS: Cannot find a Source Controller !\n");
|
||||
pr_warn("XICS: Cannot find a Source Controller !\n");
|
||||
|
||||
/* Initialize common bits */
|
||||
xics_get_server_size();
|
||||
|
Referens i nytt ärende
Block a user