From: Shuah Khan <skhan@linuxfoundation.org>
To: Woradorn Laodhanadhaworn <woradorn.laon@gmail.com>, shuah@kernel.org
Cc: broonie@kernel.org, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-kernel-mentees@lists.linux.dev,
Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH] kselftest: fix doc for ksft_test_result_report()
Date: Tue, 5 May 2026 12:41:56 -0600 [thread overview]
Message-ID: <8bf165df-faca-4765-9492-613dff06e43d@linuxfoundation.org> (raw)
In-Reply-To: <20260505182213.22924-1-woradorn.laon@gmail.com>
On 5/5/26 12:22, Woradorn Laodhanadhaworn wrote:
> Fix documentation to reference ksft_test_result_report() instead of
> ksft_test_result().
>
> Signed-off-by: Woradorn Laodhanadhaworn <woradorn.laon@gmail.com>
> ---
> tools/testing/selftests/kselftest.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/kselftest.h b/tools/testing/selftests/kselftest.h
> index 6d809f08ab7b..b50a8478d4d3 100644
> --- a/tools/testing/selftests/kselftest.h
> +++ b/tools/testing/selftests/kselftest.h
> @@ -346,9 +346,9 @@ void ksft_test_result_code(int exit_code, const char *test_name,
> }
>
> /**
> - * ksft_test_result() - Report test success based on truth of condition
> + * ksft_test_result_report() - Report test result based on a kselftest exit code
> *
> - * @condition: if true, report test success, otherwise failure.
> + * @result: a kselftest exit code
> */
> #define ksft_test_result_report(result, fmt, ...) do { \
> switch (result) { \
Applied to linx_kselftest next branch for Linux 7.2-rc1
thanks,
-- Shuah
prev parent reply other threads:[~2026-05-05 18:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-05 18:22 [PATCH] kselftest: fix doc for ksft_test_result_report() Woradorn Laodhanadhaworn
2026-05-05 18:41 ` Shuah Khan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8bf165df-faca-4765-9492-613dff06e43d@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=broonie@kernel.org \
--cc=linux-kernel-mentees@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=woradorn.laon@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox