scftorture: Add missing '\n' to flush message

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2065994

commit 71f6ea2a0be06f9d1833852ee4f501a76563acd3
Author: Li Zhijian <zhijianx.li@intel.com>
Date:   Fri, 29 Oct 2021 17:40:25 +0800

    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>

Signed-off-by: Waiman Long <longman@redhat.com>
This commit is contained in:
Waiman Long 2022-03-24 17:16:07 -04:00
parent fac89b34ab
commit 11735d7e17
1 changed files with 3 additions and 3 deletions

View File

@ -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>");
@ -629,7 +629,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++) {