diff options
author | Dev Jain <dev.jain@arm.com> | 2024-03-14 17:52:50 +0530 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-04-25 20:55:43 -0700 |
commit | 13e860961fd4505d7247ba69e8516f577c2dee5a (patch) | |
tree | ed72fb11d37c6b2bd49e6a65faf211c54ce148f4 /mm | |
parent | fa9fcd8bb6e4901e5ed0c7972547403d4c8dfec8 (diff) |
selftests/mm: virtual_address_range: Switch to ksft_exit_fail_msg
mmap() must not succeed in validate_lower_address_hint(), for if it does,
it is a bug in mmap() itself. Reflect this behaviour with
ksft_exit_fail_msg(). While at it, do some formatting changes.
Link: https://lkml.kernel.org/r/20240314122250.68534-1-dev.jain@arm.com
Signed-off-by: Dev Jain <dev.jain@arm.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions