Re: [PATCH] selftests/mm: khugepaged: consolidate error exits via kselftest helpers
From: David Hildenbrand (Arm)
Date: Mon Aug 17 2026 - 05:36:28 EST
On 8/17/26 08:19, 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>
> ---
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David