Re: [PATCH] selftests/mm: khugepaged: consolidate error exits via kselftest helpers
From: Lance Yang
Date: Tue Aug 18 2026 - 01:42:49 EST
On Mon, Aug 17, 2026 at 02:19:55PM +0800, Hongfu Li wrote:
>From: Hongfu Li <lihongfu@xxxxxxxxxx>
>
>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 <lihongfu@xxxxxxxxxx>
>---
Reviewed-by: Lance Yang <lance.yang@xxxxxxxxx>