diff options
author | 2020-12-14 19:14:05 -0800 | |
---|---|---|
committer | 2020-12-15 12:13:46 -0800 | |
commit | 1e17a24edf9bef891bbdd02617eaab4fa6efcd7f (patch) | |
tree | cb7d97519d280f7dd7b29cf4fd38ed1f28323382 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | userfaultfd/selftests: always dump something in modes (diff) | |
download | wireguard-linux-1e17a24edf9bef891bbdd02617eaab4fa6efcd7f.tar.xz wireguard-linux-1e17a24edf9bef891bbdd02617eaab4fa6efcd7f.zip |
userfaultfd/selftests: fix retval check for userfaultfd_open()
userfaultfd_open() returns 1 for errors rather than negatives. Fix it on
all the callers so when UFFDIO_API failed the test will bail out.
Link: https://lkml.kernel.org/r/20201208024709.7701-3-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions