Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp141321rdb; Thu, 1 Feb 2024 04:45:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNWCN6i7Ybi3CTotEFhbmbo6+qYMdBTn/qD5+fkQrLNtyahK1dS/0tQwFzbDe+xBuIqfnu X-Received: by 2002:a17:902:eb06:b0:1d7:35ba:6a39 with SMTP id l6-20020a170902eb0600b001d735ba6a39mr4311565plb.69.1706791530885; Thu, 01 Feb 2024 04:45:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706791530; cv=pass; d=google.com; s=arc-20160816; b=K49EtlcTfhOpQgdN6rYhi+1J2fQVhINxjLC4q1IghDSZWxdnP021wElDlJpc/X9OUs BsS4189pfLqNfeD1zgwjb/SI05xkKOdfrO9mtZUyw/RLbqSG5b/hxnGNLgoJcYoap1wh qQPmmK0e15NRVYVQG6NTYd93ksoGB1LRjUPNjJSU7diBcZ8WIu+ARrF7e8B7sdmytR68 5BDMNTqdmxuCZ1VhgqHo59GQAbfK99y4RPx/baxK63Wh4b8e6HOsvQuJrBbGeL/e/cxx 9zZpyIeNQEg/RP8FinASv5Y9xqOroILQU1MEDC9Hl2M5CS8RzyR4vcP/wMd3XlgCZRg9 cynA== 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=Ib5ZoWYDygos7YBY+UxOO5bWBWa1qUchnDN/btRIAGY=; fh=MXfgh2o1CV2ub4+92yGXGesPJqigc3JL0+axnhIb9gg=; b=Lp1REreyjN4QsjErz7TpfhvhKHYjZjSxoD+ngyjcL1ft/tIQEBGqifXDSst+RwRCoR If27JGIgqLhFTs8V1fnh1hgp+vyQcEr25LYho0k1/sYNxYxyt6xzSwAVMBkf6FdAJQff 2hwVD2xw1iWAceBnX3xnby/SXMpW9dffHiSZczOwgQMjD0+i2P7biJbS5THjkyAdiLm6 flqF7ZLIE4NF2mIZ34Ue1hclRR5xpMCM95+dl9xFVW5cPn0eqc/FoHbdgcEaHYhw3Nhe KBR0GkOmAIakFaEEqEE1qXVwRkDC3vB3oyvXUqykEkONuvED25568J7uXeNzOFZK3VjV YE6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aaNBGkGq; 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-48114-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48114-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCUyKIRb59PdTeSXi1lagv+laecO3ZsRny1QIfrfggj1nZWIzbaunp9egXjC/H68YZ1FrGjp1suLY7bN585iIZO3eYXNT6zf5KRxMOK3sQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id c16-20020a170903235000b001d8a94d10dasi11415376plh.538.2024.02.01.04.45.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 04:45:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48114-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=aaNBGkGq; 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-48114-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48114-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 407C4B276A5 for ; Thu, 1 Feb 2024 12:25:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 970C7161B53; Thu, 1 Feb 2024 12:23:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="aaNBGkGq" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 2943716089E; Thu, 1 Feb 2024 12:23:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706790231; cv=none; b=iYdpgjSK4LjvzjrMGCB+X+lrwoQTJo6tYJPTRcOlBr6sPgedIkZfhs7/LKJiPP7Bi9u8AWO+Zep3FcQg5hI9hpaJ+6ZiHAcqJDOc5M7hAYZ0cV2suXYqndsBCca5mvUbgaCy0LaHEe2MtFECb/Qb33uvMDqaF3Cik2DWuFfGxxw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706790231; c=relaxed/simple; bh=C0jCnN2niwUwVCK3xrfR+OUG4g6M8f7iVWlMtJ0aO34=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PEYiPpBiHBNuwQ+rFmbx72IJxXghHOyj0MXZXITgsV/SoPaCLdc6tkvnR4Py2CC5TtZIyerZIkWL3eRCFtDX85lEE6emJG5CS6G+c9TK9Fvdq6JfjyPpPiTG6YzNOOBwItcgeHWgyq3drlAdBfy0jprnhNY8yIoNbPSr4VEFwE0= 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=aaNBGkGq; arc=none smtp.client-ip=198.175.65.15 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=1706790228; x=1738326228; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=C0jCnN2niwUwVCK3xrfR+OUG4g6M8f7iVWlMtJ0aO34=; b=aaNBGkGq+afEERKaz3UwE7bUdbbWjDIlqT7FMjAbi81mrY8nGA8wM6cv IOivIF+CrYDPII3YRSOMQO+vGKX89LCjP6qFsMWJjPsdk70C31rzyIFdX BA6YOb6f0JQDBZ2SzMjIrDq9pDizZf4FLah74LRszmLdXW2UiThm3RzYk Eq6ZHp/5rYEwi61O/DQwAqpQqV2j8z9rx9/23bSmxoIRbGHWmEp/Xmvwe Jt41xnbcO1K/2TWeyfZgILv+EgU9Wu/ytkpFi3B6rMpqRa+iZVlOhaKzU Y0EK1JUUA9XfhILegbWOE0CUXhrpOqYgLmhkL46XrUNOGwCEnR852tRKQ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="3746901" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="3746901" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2024 04:23:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="4499090" Received: from newjersey.igk.intel.com ([10.102.20.203]) by orviesa004.jf.intel.com with ESMTP; 01 Feb 2024 04:23:42 -0800 From: Alexander Lobakin To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Alexander Lobakin , Michal Swiatkowski , Marcin Szycik , Wojciech Drewek , Yury Norov , Andy Shevchenko , Rasmus Villemoes , Alexander Potapenko , Jiri Pirko , Ido Schimmel , Przemek Kitszel , Simon Horman , linux-btrfs@vger.kernel.org, dm-devel@redhat.com, ntfs3@lists.linux.dev, linux-s390@vger.kernel.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v5 03/21] lib/test_bitmap: use pr_info() for non-error messages Date: Thu, 1 Feb 2024 13:21:58 +0100 Message-ID: <20240201122216.2634007-4-aleksander.lobakin@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240201122216.2634007-1-aleksander.lobakin@intel.com> References: <20240201122216.2634007-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: 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 46c015468077..a6e92cf5266a 100644 --- a/lib/test_bitmap.c +++ b/lib/test_bitmap.c @@ -507,7 +507,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 @@ -546,7 +546,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); @@ -624,7 +624,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); } } @@ -1380,7 +1380,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) @@ -1402,7 +1402,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.43.0