From patchwork Thu Sep 16 16:01:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 513040 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp1438968jao; Thu, 16 Sep 2021 10:37:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLkwjAoBgc9CfEZEkWBUz4UbsahO1J/Oqsan7PdWBgaEiC7TZ0/1u4cGmp5R/OtxYng27Y X-Received: by 2002:a05:6e02:e13:: with SMTP id a19mr4830692ilk.11.1631813823726; Thu, 16 Sep 2021 10:37:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631813823; cv=none; d=google.com; s=arc-20160816; b=EEtTY05lt499X21zCXs93e0xReL+nEsNmXDjGr6MQGvmMqLNyyCcbzupOojMHJ/mI4 UQaW/2ooXXLu0ioFvSd+DNcdUDy8YKvyWRFsHVn118lMogloAIetJ7pB4WwPK8BGbzba 7G+vjHDi7lU7G6vMcfIxc/VoXzhIq/DmNBuWo/J2stTA/MfL+pSa1XyMbgL807KQ7GEf JmvlxNVXU19muZZUF3nM2BsQ4tu1m0yspWTB1OuuR/+FsI8H+1lQMVDg+QvRYado21QD rq/Ep6bV3XEq8wk4YiLrsgOX+0+t4Lq/UXdJavBFLWl+CsU7nxQrBcFzjfN6RwioFi/U XeQQ== 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=iOX/PQuB4pMJ9XTQXfVuGr357+5hGzwm0XVSonipWl0=; b=Do74iqYF5fCpPB89O/L77pdPuuJsX6ZOhGH1NwHkzSyv11fVsEogX/Pso/a0LQf65d 2dKgXRLFtRsu1V5BgGyhX4sb05YITVs+CVJ3UVXr1pkwqNouZFiIiAbbJKEIrzgjjc0B Os+GyjwRpia8isGXeGAxSTagIuDeo2r0ReSdbITByx8m87d6Qene9OCA4y00r4NjCVPS lCreON+KDB99Z9GfzTFWqrAOFK6LXwQt1J99RGaZG9BYN+/KMee4C8BNhTeXSF8y8YJV D8Rdz/OVzY31HFbCjAtmbT1I/p0QcD+cqwOku7P16+gOoFOXYfEVdJ0w2mvGC+jFMi4P aQrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MmnmhXpo; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 a13si2888854ilk.74.2021.09.16.10.37.03; Thu, 16 Sep 2021 10:37:03 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-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=MmnmhXpo; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 S1354016AbhIPRiT (ORCPT + 11 others); Thu, 16 Sep 2021 13:38:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:53748 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344579AbhIPRfy (ORCPT ); Thu, 16 Sep 2021 13:35:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 004AB63230; Thu, 16 Sep 2021 16:48:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631810938; bh=AfyNKaF0xtWhgKji+tagvSCdhOnS9R1W6yf+rMj9Wis=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MmnmhXpov+7DJDZqwINgpga9ljKjaRde7HuSDR8vN+KhqYYrZiggbiRE8bwD39k1/ D1mqy6wJ5Ow0/ka6udOeNcKYkh9Bh1Bjfh25Nln07ImOP4vyGcR+YQTbEP5FZFkgV7 9fliLAAyhDyaYur9D8Tp7RqHmxBIPl+gLL7uHnSM= 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.14 323/432] kselftest/arm64: mte: Fix misleading output when skipping tests Date: Thu, 16 Sep 2021 18:01:12 +0200 Message-Id: <20210916155821.784949673@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155810.813340753@linuxfoundation.org> References: <20210916155810.813340753@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@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(-) -- 2.30.2 diff --git a/tools/testing/selftests/arm64/mte/mte_common_util.c b/tools/testing/selftests/arm64/mte/mte_common_util.c index f50ac31920d1..0328a1e08f65 100644 --- a/tools/testing/selftests/arm64/mte/mte_common_util.c +++ b/tools/testing/selftests/arm64/mte/mte_common_util.c @@ -298,7 +298,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 */