diff options
author | Joel Savitz <jsavitz@redhat.com> | 2022-05-10 03:20:47 +0200 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-05-10 03:20:47 +0200 |
commit | 17de1e559cf1eb01d5d90afd3064d5a280060f6f (patch) | |
tree | d1122be16c6498580b9b80448a2b84583c27b727 /mm/zswap.c | |
parent | mm/gup: fix comments to pin_user_pages_*() (diff) | |
download | linux-17de1e559cf1eb01d5d90afd3064d5a280060f6f.tar.xz linux-17de1e559cf1eb01d5d90afd3064d5a280060f6f.zip |
selftests: clarify common error when running gup_test
The gup_test binary will fail showing only the output of perror("open") in
the case that /sys/kernel/debug/gup_test is not found. This will almost
always be due to CONFIG_GUP_TEST not being set, which enables
compilation of a kernel that provides this file.
Add a short error message to clarify this failure and point the user to
the solution.
Link: https://lkml.kernel.org/r/20220502224942.995427-1-jsavitz@redhat.com
Signed-off-by: Joel Savitz <jsavitz@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Nico Pache <npache@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/zswap.c')
0 files changed, 0 insertions, 0 deletions