aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2025-05-27 16:04:48 +0000
committerAndrew Morton <[email protected]>2025-06-01 05:46:16 +0000
commit66bce7afbaca6ca9022210b0cd9fa3405da36667 (patch)
treee89e65667557ae93e94554e64d4a0fae16bcd233 /mm/mm_init.c
parentselftests/mm: report unique test names for each cow test (diff)
downloadkernel-66bce7afbaca6ca9022210b0cd9fa3405da36667.tar.gz
kernel-66bce7afbaca6ca9022210b0cd9fa3405da36667.zip
selftests/mm: fix test result reporting in gup_longterm
The kselftest framework uses the string logged when a test result is reported as the unique identifier for a test, using it to track test results between runs. The gup_longterm test fails to follow this pattern, it runs a single test function repeatedly with various parameters but each result report is a string logging an error message which is fixed between runs. Since the code already logs each test uniquely before it starts refactor to also print this to a buffer, then use that name as the test result. This isn't especially pretty but is relatively straightforward and is a great help to tooling. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Lorenzo Stoakes <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions