diff options
| author | Lei Zhu <zhulei@kylinos.cn> | 2026-07-29 15:24:26 +0800 |
|---|---|---|
| committer | David Heidelberg <david@ixit.cz> | 2026-08-17 19:27:51 +0200 |
| commit | be47ff78de05e931ede1d0a407f8ef6f063054d3 (patch) | |
| tree | 61ad73d55cba688940fe68b63195604534671224 /scripts/objdiff | |
| parent | 5c0f3a8d40f8a68a7d3f768c1f7a4cd111ff4879 (diff) | |
| download | linux-next-be47ff78de05e931ede1d0a407f8ef6f063054d3.tar.gz linux-next-be47ff78de05e931ede1d0a407f8ef6f063054d3.zip | |
selftests: nci: Correct pthread_create return value check
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: 72696bd8a09d ("selftests: nci: Extract the start/stop discovery function")
Signed-off-by: Lei Zhu <zhulei@kylinos.cn>
Link: https://patch.msgid.link/20260729072426.303484-1-zhulei_szu@163.com
Signed-off-by: David Heidelberg <david@ixit.cz>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
