From patchwork Thu Sep 16 15:59:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 512985 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp1365342jao; Thu, 16 Sep 2021 09:19:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3oDuN7By/l9qetuFnc4u9MpcfMGNb6vs/N6urugR1yYQ16Mrkiz/WjJadM/z7wwL/5ke7 X-Received: by 2002:aa7:cd92:: with SMTP id x18mr7454272edv.325.1631809177897; Thu, 16 Sep 2021 09:19:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631809177; cv=none; d=google.com; s=arc-20160816; b=w56elGATMafAwmKXf7ZQdwhMC2YdWUSOlRXEmoxYsRIb9CFk6qPrxCsPu634gDSxGX VVtTJQ7Zn2S/zplE7wnKS6qLLlsgf/X8F5RI4ihIIq1VN9ebSjI2ieNfLYaiQkq0v8zG Um/wauSAwCk62QGudOCnsWFgqgWHabm3WXdyadguFX6/WmjqkfHsK+/VaV+ar0085o+f GKFOYx6w7Xwb5IhhIXf1x++S+0BLxqiPRtfZhmbR4Loe89fJZEVmiWDOqDMgEVoBKvtA NiO+kPMqiZ1vV6iUfQ6iEHMjsLVDzW43GG09oQXtQAqz8UM6SuvDmQwBtJmkXGXbqkNM 9kDQ== 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=Gzj8DTEQVQKQW3J37/Ky0NMQB54sR2bbTjpmhZ3VlDh0hK/HKIEfolkgvc+2NUI3p2 ynysbEIvNMxixDnOwlRYLvBIznNAEbSQsSZvKeDQJzQK/vHXTuTD46PEayp+euLH0t8y ZVmw12jILggw/OMaBKUV2eqLvE/p7kAG6KS4HJRXDkH9F1YtmPTrZwa6uqJscbMxUABM 3s9W/Tnb4BDLGcoWngPgd5lB5XlNcb/VbB2jz5t1AMIpnWMY67Lfr/TOPBvLfjPCgAMy L6M/0veRbVEUxbOkRH0iKfIwbtzzZyqda8MFYcVxhBIKp2wtucRY3jjQewSjY92LdNn3 EIaA== 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 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 c16si3996871eds.14.2021.09.16.09.19.37; Thu, 16 Sep 2021 09:19:37 -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=vDHrwu+5; 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 S235614AbhIPQUu (ORCPT + 11 others); Thu, 16 Sep 2021 12:20:50 -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 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 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 */