On 12/16/25 15:26, Kevin Brodsky wrote:
pagemap_ioctl always reports success, whether the tests succeeded or
not. Call ksft_finished() to report the right status.
While at it also fix the exit code in unexpected situations:
- Report SKIP if userfaultfd isn't available (in line with other
tests)
- Report FAIL if we failed to open /proc/self/pagemap (returning
-EINVAL from main() is meaningless)
Cc: Usama Anjum <[email protected]>
Signed-off-by: Kevin Brodsky <[email protected]>
---
Fine for me to fix return handling for the overall test in a single patch
Acked-by: David Hildenbrand (Red Hat) <[email protected]>
--
Cheers
David