[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <zictuia2d66mhb4hdr436quvkyef5a433pnem2yoxgybhbrki5@54vv3sk4sxkl>
Date: Mon, 11 Mar 2024 14:39:40 +0200
From: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
To: Muhammad Usama Anjum <usama.anjum@...labora.com>
Cc: Shuah Khan <shuah@...nel.org>,
"Chang S. Bae" <chang.seok.bae@...el.com>, Dave Hansen <dave.hansen@...ux.intel.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, Weihong Zhang <weihong.zhang@...el.com>,
Binbin Wu <binbin.wu@...ux.intel.com>, angquan yu <angquan21@...il.com>, kernel@...labora.com,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] selftests: x86: skip the tests if prerequisites aren't
fulfilled
On Thu, Mar 07, 2024 at 11:37:22PM +0500, Muhammad Usama Anjum wrote:
> diff --git a/tools/testing/selftests/x86/lam.c b/tools/testing/selftests/x86/lam.c
> index 215b8150b7cca..c0f016f45ee17 100644
> --- a/tools/testing/selftests/x86/lam.c
> +++ b/tools/testing/selftests/x86/lam.c
> @@ -1183,7 +1183,7 @@ int main(int argc, char **argv)
>
> if (!cpu_has_lam()) {
> ksft_print_msg("Unsupported LAM feature!\n");
> - return -1;
> + return KSFT_SKIP;
> }
>
> while ((c = getopt(argc, argv, "ht:")) != -1) {
Looks good to me:
Acked-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
--
Kiryl Shutsemau / Kirill A. Shutemov
Powered by blists - more mailing lists