summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/rcuperf.c
diff options
context:
space:
mode:
authorJoe Perches2018-05-14 22:27:33 +0200
committerPaul E. McKenney2018-07-13 00:39:13 +0200
commita7538352da722fae5cc95ae6656ea2013f5b8b21 (patch)
tree161fb7ff7cdef3b28edeb0a2149bf13322bfc025 /kernel/rcu/rcuperf.c
parentrcu: rcupdate.h: Get rid of Sphinx warnings at rcu_pointer_handoff() (diff)
downloadkernel-qcow2-linux-a7538352da722fae5cc95ae6656ea2013f5b8b21.tar.gz
kernel-qcow2-linux-a7538352da722fae5cc95ae6656ea2013f5b8b21.tar.xz
kernel-qcow2-linux-a7538352da722fae5cc95ae6656ea2013f5b8b21.zip
rcu: Use pr_fmt to prefix "rcu: " to logging output
This commit also adjusts some whitespace while in the area. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> [ paulmck: Revert string-breaking %s as requested by Andy Shevchenko. ]
Diffstat (limited to 'kernel/rcu/rcuperf.c')
-rw-r--r--kernel/rcu/rcuperf.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/rcu/rcuperf.c b/kernel/rcu/rcuperf.c
index b080bc4a4f45..00e395c0d7d0 100644
--- a/kernel/rcu/rcuperf.c
+++ b/kernel/rcu/rcuperf.c
@@ -680,12 +680,11 @@ rcu_perf_init(void)
break;
}
if (i == ARRAY_SIZE(perf_ops)) {
- pr_alert("rcu-perf: invalid perf type: \"%s\"\n",
- perf_type);
+ pr_alert("rcu-perf: invalid perf type: \"%s\"\n", perf_type);
pr_alert("rcu-perf types:");
for (i = 0; i < ARRAY_SIZE(perf_ops); i++)
- pr_alert(" %s", perf_ops[i]->name);
- pr_alert("\n");
+ pr_cont(" %s", perf_ops[i]->name);
+ pr_cont("\n");
firsterr = -EINVAL;
goto unwind;
}