From patchwork Thu Sep 16 16:00:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 513012 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp1400154jao; Thu, 16 Sep 2021 09:55:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2U4DOQFgkYU0GLdoGgoyKtwU8xGoEzYWMdKUqZ753z+ze0N6s309rwNzIs6OmOG/Iu5BL X-Received: by 2002:a02:cd18:: with SMTP id g24mr1033622jaq.134.1631811321429; Thu, 16 Sep 2021 09:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631811321; cv=none; d=google.com; s=arc-20160816; b=SqvYImXBfNG8FNRgK1aHuCaGMRQ1SD9thIz2MNqrKeACxurVqMXo8JQ19DvzsbUY26 M/tACEm7te4PW3SutohIMIWLH5b94Hebi1NwMrx4dnUyyM3P9Nfgvj9KmmzWOw6oqV35 4Afc+tPqUjc+aSVHFH93ocVY0SyimNksuFN1EuxPC+nJ8VvhUFB61ell5A7muh5hTajY mug8WLtJ1BC6OuMHyuIS6YrzfMQvLdxMa+fnZQPTySkTgFhvsZqrTPQjqoiWKvtXKN3i J8/KsCrtsdC6KT1sGOlh6Mx+pvapbwNdIuMbYQZMSCa7eBAdzx1jFTFSvne2fHBZIlnp 0AgA== 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=z83V39AuN3uzy3b4Mg/FacA8Lt2+P+QpWZDyKoVM1u+s42Rrq5PErgjdZaqNa0LiRi 3sja4iaxNkUDnhNfi3XQo7m+xDyMZZX1HS9SFC2vwYd0YHxrnTZQ1Li+ExhYiRiRqy1G n4Xmlj3XlQpZfnFlGSG/tMWT6vcRAFH5iFYv0Jdy+7ThBQfo64KCwztn8KTs5L5Ojtx5 2C0rW4/YbkeERirfgJKrgat9GqfHJey7NMOpingojyBdzMsLFPtY7nofk/PrItm2js2l OATDHVinLuDuUdDvE4l37puiQw7YCTiH3mt4OsfhcsJQ9L0arR0DZdsVSkdN/kLowzqW JyXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nLJ7G4ic; 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 v18si3447989ilc.7.2021.09.16.09.55.21; Thu, 16 Sep 2021 09:55:21 -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=nLJ7G4ic; 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 S235102AbhIPQ4h (ORCPT + 11 others); Thu, 16 Sep 2021 12:56:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:51090 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346151AbhIPQy1 (ORCPT ); Thu, 16 Sep 2021 12:54:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9FD5161AD0; Thu, 16 Sep 2021 16:30:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631809802; bh=AfyNKaF0xtWhgKji+tagvSCdhOnS9R1W6yf+rMj9Wis=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nLJ7G4icdzG/hYnem4KuHF4sGFRN5rJDCfehxTvMP537+rBI0mR1+9iEpotUSAHDK fwI3ptquN5OEWOU3DHbWTMeEB2zDyatdTWuqGtPfmAlqZQ3fwEgu+ObsLnn3YsgKUK q0JgdnW/Ah8nZ1Afq0FmiH3wST7KKQtVMstj16Vs= 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.13 289/380] kselftest/arm64: mte: Fix misleading output when skipping tests Date: Thu, 16 Sep 2021 18:00:46 +0200 Message-Id: <20210916155813.899240021@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155803.966362085@linuxfoundation.org> References: <20210916155803.966362085@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 */