[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6b9ed425-cadb-15df-4c4f-eb1dc0b814dd@intel.com>
Date: Mon, 29 Nov 2021 11:27:21 -0800
From: Reinette Chatre <reinette.chatre@...el.com>
To: Shaopeng Tan <tan.shaopeng@...fujitsu.com>,
Fenghua Yu <fenghua.yu@...el.com>,
Shuah Khan <shuah@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <linux-kselftest@...r.kernel.org>
Subject: Re: [PATCH 2/3] selftests/resctrl: Return KSFT_SKIP(4) if resctrl
filessystem is not supported or resctrl is not run as root
Hi Shaopeng Tan,
(subject line and commit message: filessystem -> file system)
On 11/10/2021 1:33 AM, Shaopeng Tan wrote:
> From: "Tan, Shaopeng" <tan.shaopeng@...fujitsu.com>
>
> To unify the return code of resctrl_tests with the return code of
> selftest set, return KSFT_SKIP (4) if resctrl filessystem is not
> supported or resctrl is not run as root.
Could you please elaborate how changing ksft_exit_fail_msg() to
ksft_exit_skip() accomplishes the goal of unifying the return code?
What is wrong with using ksft_exit_fail_msg()?
Reinette
Powered by blists - more mailing lists