userfaultfd: selftest: return an error if BOUNCE_VERIFY fails
authorAndrea Arcangeli <aarcange@redhat.com>
Tue, 22 Sep 2015 21:59:03 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2015 22:09:53 +0000 (15:09 -0700)
commita5932bf5737f0b5caf6deaa92b062e4fe66cf5b2
treeb856d98c07e0cae80166a9e6dbd14df5f9b2099d
parent1f5fee2cf232f9fac05b65f21107d2cf3c32092c
userfaultfd: selftest: return an error if BOUNCE_VERIFY fails

This will report the error in the exit code, in addition of the fprintf.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/vm/userfaultfd.c