Commit 71f6ea2a authored by Li Zhijian's avatar Li Zhijian Committed by Paul E. McKenney

scftorture: Add missing '\n' to flush message

Add '\n' to macros to flush message for each call.
Acked-by: default avatarDavidlohr Bueso <dbueso@suse.de>
Signed-off-by: default avatarLi Zhijian <zhijianx.li@intel.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent f71f22b6
...@@ -42,10 +42,10 @@ ...@@ -42,10 +42,10 @@
pr_alert(SCFTORT_FLAG s, ## x) pr_alert(SCFTORT_FLAG s, ## x)
#define VERBOSE_SCFTORTOUT(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...) \ #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_LICENSE("GPL");
MODULE_AUTHOR("Paul E. McKenney <paulmck@kernel.org>"); MODULE_AUTHOR("Paul E. McKenney <paulmck@kernel.org>");
...@@ -630,7 +630,7 @@ static int __init scf_torture_init(void) ...@@ -630,7 +630,7 @@ static int __init scf_torture_init(void)
goto unwind; 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); atomic_set(&n_started, nthreads);
for (i = 0; i < nthreads; i++) { for (i = 0; i < nthreads; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment