linux/tools/testing/selftests/powerpc
longlong yan bf1d828781 selftests/powerpc: use MAP_FAILED instead of (void *)-1 in tm-signal-context-force-tm
mmap() is documented to return MAP_FAILED on error, but
tm-signal-context-force-tm.c compares the return value against
(void *)-1. Replace these with the standard MAP_FAILED macro for
better readability and type safety.

Signed-off-by: longlong yan <yanlonglong@kylinos.cn>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260722023428.932-1-yanlonglong@kylinos.cn
2026-09-10 13:16:50 +05:30
..
alignment selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
benchmarks selftests/powerpc: Fix argument order to timer_sub() 2025-01-11 10:39:45 +05:30
cache_shape selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
copyloops powerpc/selftests/copyloops: extend selftest to exercise __copy_tofrom_user_power7_vmx 2026-03-12 11:03:48 +05:30
dexcr selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
dscr selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
eeh selftests/powerpc: make sub-folders buildable on their own 2024-04-29 23:54:42 +10:00
include powerpc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-09-01 13:23:29 +05:30
lib selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
math selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
mce selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
mm selftests/powerpc: Use PKEY_UNRESTRICTED macro 2025-02-17 18:16:36 +00:00
nx-gzip selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
papr_attributes selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
papr_sysparm selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
papr_vpd selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
pmu selftests/powerpc/pmu/ebb: fix lost_exception_test hang with sched yield change 2026-09-10 08:58:40 +05:30
primitives selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
ptrace selftests/powerpc: Use PKEY_UNRESTRICTED macro 2025-02-17 18:16:36 +00:00
scripts selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
security selftests/powerpc: Detect taint change in mitigation patching test 2024-11-07 22:36:31 +11:00
signal selftests/powerpc: Return errors from all tests 2024-11-07 22:36:31 +11:00
stringloops selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
switch_endian selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
syscalls selftests/powerpc: Give all tests 2 minutes timeout 2024-11-07 22:36:30 +11:00
tm selftests/powerpc: use MAP_FAILED instead of (void *)-1 in tm-signal-context-force-tm 2026-09-10 13:16:50 +05:30
vphn selftests/powerpc: Suppress -Wmaybe-uninitialized with GCC 15 2026-04-01 09:21:04 +05:30
flags.mk selftests/powerpc: Fix build with USERCFLAGS set 2024-07-06 22:10:14 +10:00
harness.c selftests/powerpc: add const qualification where possible 2023-08-18 17:03:15 +10:00
Makefile selftests/powerpc: Install tests in sub-directories 2024-04-29 23:54:43 +10:00
utils.c selftests/powerpc/dexcr: Add hashst/hashchk test 2023-06-19 17:36:28 +10:00