Re: [PATCH] selftests/futex: Correct pthread_create return value check
From: André Almeida
Date: Mon Aug 03 2026 - 11:05:47 EST
Em 27/07/2026 00:08, Lei Zhu escreveu:
From: Lei Zhu <zhulei@xxxxxxxxxx>Reviewed-by: André Almeida <andrealmeid@xxxxxxxxxx>
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 <zhulei@xxxxxxxxxx>