summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/xics/ics-opal.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2016-10-24 21:00:08 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2017-12-04 11:54:34 +1100
commitf2c2cbcc35d47f1471a04155ac357521f5170371 (patch)
tree7326dd8c67804daaf86902394b78c7469c271a58 /arch/powerpc/sysdev/xics/ics-opal.c
parentae64f9bd1d3621b5e60d7363bc20afb46aede215 (diff)
downloadblackbird-obmc-linux-f2c2cbcc35d47f1471a04155ac357521f5170371.tar.gz
blackbird-obmc-linux-f2c2cbcc35d47f1471a04155ac357521f5170371.zip
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>
Diffstat (limited to 'arch/powerpc/sysdev/xics/ics-opal.c')
-rw-r--r--arch/powerpc/sysdev/xics/ics-opal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/xics/ics-opal.c b/arch/powerpc/sysdev/xics/ics-opal.c
index 1c6bf4b66f56..f85f916ba432 100644
--- a/arch/powerpc/sysdev/xics/ics-opal.c
+++ b/arch/powerpc/sysdev/xics/ics-opal.c
@@ -131,8 +131,8 @@ static int ics_opal_set_affinity(struct irq_data *d,
wanted_server = xics_get_irq_server(d->irq, cpumask, 1);
if (wanted_server < 0) {
- pr_warning("%s: No online cpus in the mask %*pb for irq %d\n",
- __func__, cpumask_pr_args(cpumask), d->irq);
+ pr_warn("%s: No online cpus in the mask %*pb for irq %d\n",
+ __func__, cpumask_pr_args(cpumask), d->irq);
return -1;
}
server = ics_opal_mangle_server(wanted_server);
OpenPOWER on IntegriCloud