Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testsuite: ztress: Remove idle thread NULL check #48456

Merged
merged 1 commit into from
Jul 29, 2022

Conversation

stephanosio
Copy link
Member

This commit removes the NULL check on the idle thread array
(idle_tid) because it is statically declared and will never be NULL.

This fixes the "comparison will always evaluate as ‘false’" warning
generated by the GCC 12.

Signed-off-by: Stephanos Ioannidis [email protected]

This commit removes the NULL check on the idle thread array
(`idle_tid`) because it is statically declared and will never be NULL.

This fixes the "comparison will always evaluate as ‘false’" warning
generated by the GCC 12.

Signed-off-by: Stephanos Ioannidis <[email protected]>
@nashif nashif merged commit a2e2569 into zephyrproject-rtos:main Jul 29, 2022
@chen-png
Copy link
Collaborator

added a backport label for v3.1-branch, as this also will report same build warning on v3.1-branch with zephyr sdk 0.15.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants