Re: [PATCH] selftests/mm: khugepaged: consolidate error exits via kselftest helpers

"Zi Yan" <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.kernel.mm
Message-ID <[email protected]>
On Mon Aug 17, 2026 at 2:19 AM EDT, Hongfu Li wrote:
> From: Hongfu Li <[email protected]>
>
> Replace the perror()+exit(EXIT_FAILURE) pattern with
> ksft_exit_fail_perror() so failures are reported through the
> kselftest framework, consistent with the rest of the file.
>
> Signed-off-by: Hongfu Li <[email protected]>
> ---
>  tools/testing/selftests/mm/khugepaged.c | 20 +++++++-------------
>  1 file changed, 7 insertions(+), 13 deletions(-)
>

Thanks.

Reviewed-by: Zi Yan <[email protected]>



-- 
Best Regards,
Yan, Zi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.