tools/testing/selftests/vm/gup_test.c: clarify error statement
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Fri, 29 Apr 2022 06:16:10 +0000 (23:16 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 06:16:10 +0000 (23:16 -0700)
commit62e80f2b5072ed80a41fc6a272e44e8e17fdcf66
treef3e20bfcc9eb1a722d86b5295172e5e4d26f7fe7
parent0e5e64c0b0d7bb33a5e971ad17e771cf6e0a1127
tools/testing/selftests/vm/gup_test.c: clarify error statement

Print three possible reasons /sys/kernel/debug/gup_test cannot be opened
to help users of this test diagnose failures.

Link: https://lkml.kernel.org/r/20220405214809.3351223-1-sidhartha.kumar@oracle.com
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/vm/gup_test.c
tools/testing/selftests/vm/run_vmtests.sh