Re: [PATCH] selftests/futex: Correct pthread_create return value check

AndrĂ© Almeida <[email protected]> Mon, 3 Aug 2026 11:54:11 -0300
Newsgroups org.kernel.vger.linux-kselftest,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Em 27/07/2026 00:08, Lei Zhu escreveu:
> From: Lei Zhu <[email protected]>
> 
> The pthread_create() functions returns 0 on success and a positive value on
> failure. Modify the return value check to correctly detect failure cases.
> 
> Fixes: 14d016bd7282 ("selftests/futex: Refactor futex_wait_private_mapped_file with kselftest_harness.h")
> Signed-off-by: Lei Zhu <[email protected]>
Reviewed-by: AndrĂ© Almeida <[email protected]>