Re: [PATCH 19/53] selftests/mm: va_high_addr_switch: use kselftest framework
From: Mark Brown
Date: Tue Apr 07 2026 - 10:43:16 EST
On Mon, Apr 06, 2026 at 05:17:01PM +0300, Mike Rapoport wrote:
> if (p == MAP_FAILED) {
> - printf("FAILED\n");
> - ret = KSFT_FAIL;
> + ksft_test_result_fail("%s: MAP_FAILED\n", t->msg);
ksft_test_result_*() should use a consistent name for the test,
otherwise tooling won't be able to correlate passes and fails from
different runs (or different fails if the fails print different errors).
The entire string supplied is taken as the test name. Log the error
separately.
Attachment:
signature.asc
Description: PGP signature