Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1733228pxb; Thu, 16 Sep 2021 14:16:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRAx0ZFsgjd2xzVQZ1fnmN0mP3Q1lHWVafvJDeyUhpQOx3SYAYY8bDbMfWQIltOLH0EglJ X-Received: by 2002:a5d:8b8d:: with SMTP id p13mr2003055iol.216.1631826988921; Thu, 16 Sep 2021 14:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631826988; cv=none; d=google.com; s=arc-20160816; b=YNzY9qYpQLTVR0YKNqVOQ1P8GUhb6xjdYlV++M/VBsLeI1onEBwScaJ2eQqVMYyVeV 0FgSdAcJXl5vBI9IfOpjZXejkuTTC8KE2Gb5QCGzdn3jBTz4tpjRdZ28xjfH7rHUtefo 9uYbOLFwRmg6L0K5W1qpL1e+uE59BPWhsKfMiagJJdvniOLOiNmMSAgi/HHVOqTLXK73 GRmzSv7d+4ghjPxofDv2ALTpNSc1Zc7hH6WIbnOfL1SrGt1pjYPrybnUUVeZbdamxid1 2Lxpv/T5NQ8blhsAmjk2zOGIhCgtuUwsUJPZubn+g6RMS8jTZo8ae48KhNz8g1yiDtm8 qx4w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bJQz1XvZOihLag1zPzJvJycJ8j3Ui9O4ywsYQl5t+BY=; b=qJvpKGxQkVreT9Uwy6qdxdWDP8B238Ed14doBeX6pUGW8sfAKt9iRj7sTG+BkZj4Qa XUpIr8ZW2QkobPewQOULluM7BZqZyqrEIPT+dS7oMI7D/hiJvygNp0XTfX3hOPWdJ6SK S5oxNdleU4icEyKHwL2wBvbccthrXWSY02mGA9xEyUjU4vawXCabLwyvuAVNoG8PQKwM oXOlBSfJJv/G5mS3qf1avsklYZTaloIXN07XecVRLCP0Pvmm3jkBcTYMOVcyTVg02zcW HCJJr7/DKGyBGl5pi5qCB7SItDrdFsUA1EZEEnyHNaLVtVP9xyU3A2bAsg/ZWwqqJr4r kqaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vDHrwu+5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b125si3698275jab.33.2021.09.16.14.16.13; Thu, 16 Sep 2021 14:16:28 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vDHrwu+5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241344AbhIPQ1G (ORCPT + 99 others); Thu, 16 Sep 2021 12:27:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:58970 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241347AbhIPQTW (ORCPT ); Thu, 16 Sep 2021 12:19:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F1DC461391; Thu, 16 Sep 2021 16:13:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808809; bh=dgA2bjkut6BuI9XLFUBRe3fFm4qK8av891uWGjEfc7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vDHrwu+5T7eyHQrybRoV64BxRM6r25P9jkk0isw9nxqDh7+t2ogaR52f6+tRiDrAV 45hCZujeaiVVWch7TttEzFd01C56+mEdqixi7r5YsC2PXY7d7w+pDHaLUggfVqrvzl zPEFkU3gwmGIovSoNtkU6nWv3UpPa0n3q9qiceQw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mark Brown , Catalin Marinas , Sasha Levin Subject: [PATCH 5.10 230/306] kselftest/arm64: mte: Fix misleading output when skipping tests Date: Thu, 16 Sep 2021 17:59:35 +0200 Message-Id: <20210916155801.899169520@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Brown [ Upstream commit 83e5dcbece4ea67ec3ad94b897e2844184802fd7 ] When skipping the tests due to a lack of system support for MTE we currently print a message saying FAIL which makes it look like the test failed even though the test did actually report KSFT_SKIP, creating some confusion. Change the error message to say SKIP instead so things are clearer. Signed-off-by: Mark Brown Link: https://lore.kernel.org/r/20210819172902.56211-1-broonie@kernel.org Signed-off-by: Catalin Marinas Signed-off-by: Sasha Levin --- tools/testing/selftests/arm64/mte/mte_common_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/arm64/mte/mte_common_util.c b/tools/testing/selftests/arm64/mte/mte_common_util.c index 70665ba88cbb..2703bd628d06 100644 --- a/tools/testing/selftests/arm64/mte/mte_common_util.c +++ b/tools/testing/selftests/arm64/mte/mte_common_util.c @@ -285,7 +285,7 @@ int mte_default_setup(void) int ret; if (!(hwcaps2 & HWCAP2_MTE)) { - ksft_print_msg("FAIL: MTE features unavailable\n"); + ksft_print_msg("SKIP: MTE features unavailable\n"); return KSFT_SKIP; } /* Get current mte mode */ -- 2.30.2