> Make sure pagemap_ioctl exits with an appropriate value: > > * If the tests are run, call ksft_finished() to report the right > status instead of reporting PASS unconditionally. > > * Report SKIP if userfaultfd isn't available (in line with other > tests) > > * Report FAIL if we failed to open /proc/self/pagemap, as this file > has been added a long time ago and doesn't depend on any CONFIG > option (returning -EINVAL from main() is meaningless) > > Cc: Usama Anjum <[email protected]> > Reviewed-by: Ryan Roberts <[email protected]> > Reviewed-by: Mark Brown <[email protected]> > Acked-by: David Hildenbrand (Red Hat) <[email protected]> > Signed-off-by: Kevin Brodsky <[email protected]>
Reviewed-by: wang lian <[email protected]> -- Best Regards, wang lian

