summaryrefslogtreecommitdiffstats
path: root/kernel/scftorture.c
diff options
context:
space:
mode:
authorLi Zhijian <zhijianx.li@intel.com>2021-10-29 11:40:25 +0200
committerPaul E. McKenney <paulmck@kernel.org>2021-12-08 01:36:17 +0100
commit71f6ea2a0be06f9d1833852ee4f501a76563acd3 (patch)
tree0eae188ee52c4f4475f91dd7a5147f1a6135aeff /kernel/scftorture.c
parentrefscale: Add missing '\n' to flush message (diff)
downloadlinux-71f6ea2a0be06f9d1833852ee4f501a76563acd3.tar.xz
linux-71f6ea2a0be06f9d1833852ee4f501a76563acd3.zip
scftorture: Add missing '\n' to flush message
Add '\n' to macros to flush message for each call. Acked-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Li Zhijian <zhijianx.li@intel.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/scftorture.c')
-rw-r--r--kernel/scftorture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/scftorture.c b/kernel/scftorture.c
index 5d42f44e3e1a..9cff573b7eb4 100644
--- a/kernel/scftorture.c
+++ b/kernel/scftorture.c
@@ -42,10 +42,10 @@
pr_alert(SCFTORT_FLAG s, ## x)
#define VERBOSE_SCFTORTOUT(s, x...) \
- do { if (verbose) pr_alert(SCFTORT_FLAG s, ## x); } while (0)
+ do { if (verbose) pr_alert(SCFTORT_FLAG s "\n", ## x); } while (0)
#define VERBOSE_SCFTORTOUT_ERRSTRING(s, x...) \
- do { if (verbose) pr_alert(SCFTORT_FLAG "!!! " s, ## x); } while (0)
+ do { if (verbose) pr_alert(SCFTORT_FLAG "!!! " s "\n", ## x); } while (0)
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Paul E. McKenney <paulmck@kernel.org>");
@@ -630,7 +630,7 @@ static int __init scf_torture_init(void)
goto unwind;
}
- VERBOSE_SCFTORTOUT("Starting %d smp_call_function() threads\n", nthreads);
+ VERBOSE_SCFTORTOUT("Starting %d smp_call_function() threads", nthreads);
atomic_set(&n_started, nthreads);
for (i = 0; i < nthreads; i++) {