Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2502176pxb; Fri, 29 Oct 2021 02:44:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTcv6WnymrGAklah0jCHZE4+9N01Uk5MQ96Mvh3smnv6RYWzq72Prl9QCxHCEYyIEkPsEv X-Received: by 2002:a17:906:68d6:: with SMTP id y22mr12625501ejr.274.1635500642420; Fri, 29 Oct 2021 02:44:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635500642; cv=none; d=google.com; s=arc-20160816; b=t4PToGRxOFFqYefUOO08na7K2b3nHo8VemN2a9Mt9/6ki7h/+Riagc8FDsTcRmXggs uMOGX9HHAHvh+kdPdEbsqB1KdTtaOJdBPB/QWjmUrUAVjnEgNtAuXK6GK6PL1Jm0qAML qpdD42uCgPIja0osyjzp3G/eVmbz8jiDaL7nabDs1FsbR8jCtl/9TlyTtDxrVGuMG/Bx JumZv+j1ezMO7Jd+bIcxooGdJWlgLhqOp9hvWjXsZwVshXQpjqcDaiKJhTuteF+MZKHj F606vSjBm819ovolaP6ELiWRQYQqv4xeAwoiAOBZNXbacDbQM3KnJrEC9WGwbLW1YVMS 9LMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=V9VO06c6IaLMJQn32QhOY7AFVTrshZDgdpvNtOvpAv0=; b=MqUu6/55VNQu3Ra0ZxPmb49OFVawsCGIp5HE1Cl4sTajp/rnyLKng6lHlNnP4PyRXa JbWvI9TvPOWgTGPmjjmCOc1LO+EJr0iTb89WfNAZW3O6O7rvQdZWi2TetvNx4H/kd8D1 ws1B1h3KJkvVFib1krUP5EjHD049UbSFM48JR3Gi+sHO6uDKYN7hBqg/MmCgwdgrS2QL GxMP2AZcUfM4DPBbVjUa2U09FLmnHUfCUs7zRkFVk5NFNrIfqIeOK9xfz9TkCVEN7Ici ruLDMsXTLrp/uUUZ4GoBR//Wq092+3a0nUGoHA6GzzAncLd+klcSLx+FQfuA4NgDlepu tCaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o5si1185294edv.226.2021.10.29.02.43.37; Fri, 29 Oct 2021 02:44:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231642AbhJ2JoW (ORCPT + 99 others); Fri, 29 Oct 2021 05:44:22 -0400 Received: from mga04.intel.com ([192.55.52.120]:50887 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231559AbhJ2JoR (ORCPT ); Fri, 29 Oct 2021 05:44:17 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="229360007" X-IronPort-AV: E=Sophos;i="5.87,192,1631602800"; d="scan'208";a="229360007" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 02:41:46 -0700 X-IronPort-AV: E=Sophos;i="5.87,192,1631602800"; d="scan'208";a="498845444" Received: from rdutta-mobl3.gar.corp.intel.com (HELO lkp-bingo.ccr.corp.intel.com) ([10.255.31.247]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 02:41:42 -0700 From: Li Zhijian To: dave@stgolabs.net, joel@joelfernandes.org, josh@joshtriplett.org, mathieu.desnoyers@efficios.com, paulmck@kernel.org, rostedt@goodmis.org, rcu@vger.kernel.org Cc: philip.li@intel.com, lizhijian@cn.fujitsu.com, jiangshanlai@gmail.com, linux-kernel@vger.kernel.org, Li Zhijian Subject: [PATCH 2/6] scftorture: add missing '\n' to flush message out Date: Fri, 29 Oct 2021 17:40:25 +0800 Message-Id: <20211029094029.22501-3-zhijianx.li@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211029094029.22501-1-zhijianx.li@intel.com> References: <20211029094029.22501-1-zhijianx.li@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add '\n' to macros directly like what torture does to flush message for each calls Signed-off-by: Li Zhijian --- kernel/scftorture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/scftorture.c b/kernel/scftorture.c index 64a08288b1a6..f60a7a240f91 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 "); @@ -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++) { -- 2.32.0