Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp159266lqo; Wed, 27 Mar 2024 09:24:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUcYZI8r9I3ZH+qYdfKTObcea70V/vJc+4qJYWLNeA4KkhVjZBhm26tI7F7VfP/J6og1TfuDA97FYy2ZgmzzKg3OSq8U04a0BePPhKlhg== X-Google-Smtp-Source: AGHT+IH3p1LpDNsloZsmkmwQ/tjAR/saQEk63J1rF6AMH/j5E9+P6P1Hkb8GdnIjb96mqjCBcp8h X-Received: by 2002:a17:90b:378b:b0:29b:aea0:1883 with SMTP id mz11-20020a17090b378b00b0029baea01883mr147670pjb.2.1711556689588; Wed, 27 Mar 2024 09:24:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711556689; cv=pass; d=google.com; s=arc-20160816; b=uldq+IBJlNQH8XyhXM09V8fT+mtMkb0jf/1SstjNRx2VQq+zLtWUR0EVSQI0vdwZs5 ypd0rEslykuBhHBYYp6LEcCeRo/3mWeHyl1PVOtykD/zD/JkbSU+rrmPLtjUvmLIgUGT UWu3xOhCRzpWnvNRgRKYCin61Km9ma+MoW6aVfvvFAMcD6U2SUqEdiGAJTCPbL/ERbGc TPmsP7ktIfC4o4oPxjoJZWaMuFZrTqbNCRO+7rBhclKEnVuBs0QDd7JfG1b9jaXtQhpD 6i5O4b64rvHMIH2QBifurYzyNilPOZj2+uu3xRHS9rcjj6GdyX5oDeY3mbqUERaA3/N/ 33Jg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eOUGX/Rkzn3Vmb8lGNkIHPfjzJ9q18KPgrGzwXNQN2I=; fh=HAee6bbtLy7HrGEmtDeJDowZ4nqmgipu4nyq312/+7o=; b=YzljvRIAdqevbiqu4cLMmpS0+gyK436jpCe6qquvt9JEMoNezN4X34FAqpuN7r+eyL 3pLBeu8MtPi3bcmKi13t/tk/HYXlum/A8sQjwbAkxieol5h6xViSD1S4gjtX1q74lJRx N2geuGurdJleGY8A5jie6mjCoJMPpNho88yWXLaADxk4xqwy5EEcm0rQWQryeDx36geT y8qtbM5/GSzACpO8aFdzigWNNvcFh7bdKEQFcECyygE79WvIunILq7o1wq2z7gVISDxK yDZNuFfpIKkr2KpPykdJcBdxFlaLQeVp6jiecK2A45dAC1OeXXJPDkAaAwAz1Ly0LdjL REmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PnjSUpp8; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-121512-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121512-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ot16-20020a17090b3b5000b002a0351cb938si1867392pjb.16.2024.03.27.09.24.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:24:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121512-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PnjSUpp8; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-121512-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121512-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1E648B3AC10 for ; Wed, 27 Mar 2024 15:31:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D59313F45C; Wed, 27 Mar 2024 15:24:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="PnjSUpp8" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD33F137C34; Wed, 27 Mar 2024 15:24:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711553093; cv=none; b=jhHDNP5maOORKBR5jUJx4gABuQubRTJqf8bQw4IqghR3vQ5Rn+oW5ZRj1fH6CPn2lgendZlPiVmub/8DlK9wVaxxh68BXoUW3DRfCqDwSmM5G7mdNvs5TXBVua3LOe82ymsWpqCqpeG9Q/UiUmDn4kjUTt730AmRPz1PqOhU1lE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711553093; c=relaxed/simple; bh=MOQQd/EDW0Rx6coAPnU+ytX7qdeAXugbGRDLLXEZPZo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=scHRSKGjDmd3IRNzhVRjjVhrlF70UVeTPo9zBTl2fWlLSnh6XTTrYc42V7iWQpnugdi83GNXeCf77wZsEA5H1jJbVjyjra/U2VFC+jqa6xVdB1qHTk6Nq5rsz+75fwFRnHPlgf+Fv7dK1BlWAIh8LG6sK2CGQ9B/3T4zw+rMOVE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=PnjSUpp8; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711553091; x=1743089091; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=MOQQd/EDW0Rx6coAPnU+ytX7qdeAXugbGRDLLXEZPZo=; b=PnjSUpp8GPIRJtkmJzyR87q6IOtlMtY8RQm8pQTJpEgJbt6fSVO60lv5 CzruY2vWY4QLrD6V8PC27ucmIYLHvZGXmUSX8p6cCj9mUh1aXrsszqe/b qndBuJXRl1MNoAFEg3wEiZAsgqF8p0uCtM+bxBzXDG/VTj848WEWV7pfy mNYOuXijXisMDDbkizrS0jRqr8dVmbOcxzrlbpUb/n6p0wFN0tcH2HGKr 5s0uMialSHL7L0YsTCy2eHKbfMOv5xp/a2LGTz/XnORVj9N89MXEuC4K6 jnsNgzqc46nXxjxKkv+u2FkSw6IcClNco3MPass3BJkhj6xFluGzmWFTg w==; X-CSE-ConnectionGUID: 7pi0RoSbQO2Nv+dKSM1UBg== X-CSE-MsgGUID: 6pzeI2bxTLK5lMlfy2Sz6g== X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="6518107" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="6518107" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2024 08:24:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="16414117" Received: from newjersey.igk.intel.com ([10.102.20.203]) by fmviesa008.fm.intel.com with ESMTP; 27 Mar 2024 08:24:43 -0700 From: Alexander Lobakin To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Alexander Lobakin , Yury Norov , Alexander Potapenko , nex.sw.ncis.osdt.itp.upstreaming@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v6 03/21] lib/test_bitmap: use pr_info() for non-error messages Date: Wed, 27 Mar 2024 16:23:40 +0100 Message-ID: <20240327152358.2368467-4-aleksander.lobakin@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240327152358.2368467-1-aleksander.lobakin@intel.com> References: <20240327152358.2368467-1-aleksander.lobakin@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Alexander Potapenko pr_err() messages may be treated as errors by some log readers, so let us only use them for test failures. For non-error messages, replace them with pr_info(). Suggested-by: Alexander Lobakin Signed-off-by: Alexander Potapenko Acked-by: Yury Norov Signed-off-by: Yury Norov Signed-off-by: Alexander Lobakin --- lib/test_bitmap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/test_bitmap.c b/lib/test_bitmap.c index 9198e93b7985..2870373d94d0 100644 --- a/lib/test_bitmap.c +++ b/lib/test_bitmap.c @@ -548,7 +548,7 @@ static void __init test_bitmap_parselist(void) } if (ptest.flags & PARSE_TIME) - pr_err("parselist: %d: input is '%s' OK, Time: %llu\n", + pr_info("parselist: %d: input is '%s' OK, Time: %llu\n", i, ptest.in, time); #undef ptest @@ -587,7 +587,7 @@ static void __init test_bitmap_printlist(void) goto out; } - pr_err("bitmap_print_to_pagebuf: input is '%s', Time: %llu\n", buf, time); + pr_info("bitmap_print_to_pagebuf: input is '%s', Time: %llu\n", buf, time); out: kfree(buf); kfree(bmap); @@ -665,7 +665,7 @@ static void __init test_bitmap_parse(void) } if (test.flags & PARSE_TIME) - pr_err("parse: %d: input is '%s' OK, Time: %llu\n", + pr_info("parse: %d: input is '%s' OK, Time: %llu\n", i, test.in, time); } } @@ -1421,7 +1421,7 @@ static void __init test_bitmap_read_perf(void) } } time = ktime_get() - time; - pr_err("Time spent in %s:\t%llu\n", __func__, time); + pr_info("Time spent in %s:\t%llu\n", __func__, time); } static void __init test_bitmap_write_perf(void) @@ -1443,7 +1443,7 @@ static void __init test_bitmap_write_perf(void) } } time = ktime_get() - time; - pr_err("Time spent in %s:\t%llu\n", __func__, time); + pr_info("Time spent in %s:\t%llu\n", __func__, time); } #undef TEST_BIT_LEN -- 2.44.0