diff options
| author | longlong yan <yanlonglong@kylinos.cn> | 2026-07-22 10:34:28 +0800 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-09-10 13:16:50 +0530 |
| commit | bf1d8287816194457c1a936056ad2d1e1e478944 (patch) | |
| tree | ac301f5f2584a5888b8308662bd5581e01902d98 /scripts/Makefile.thinlto | |
| parent | e58b9d90973e09f1908d2cd00ca2336a8232b9f8 (diff) | |
| download | linux-bf1d8287816194457c1a936056ad2d1e1e478944.tar.gz linux-bf1d8287816194457c1a936056ad2d1e1e478944.zip | |
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
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
