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