summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBrendan Jackman <jackmanb@google.com>2025-03-11 16:18:23 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 08:06:40 +0300
commit1ddae9d67ee11886f9a35b78ad837eb26559e9ab (patch)
tree48fbaded929dba6e5d291fff0f35564718d55aba /include/linux
parent5d2146a3354f8eeb1f9f9581ee9a40e0a9d2c714 (diff)
downloadlinux-1ddae9d67ee11886f9a35b78ad837eb26559e9ab.tar.xz
selftests/mm/mlock: print error on failure
It's not really possible to start diagnosing this without knowing the actual error. Also update the mlock2 helper to behave like libc would by setting errno and returning -1. Link: https://lkml.kernel.org/r/20250311-mm-selftests-v4-12-dec210a658f5@google.com Signed-off-by: Brendan Jackman <jackmanb@google.com> Cc: Dev Jain <dev.jain@arm.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Mateusz Guzik <mjguzik@gmail.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions