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

[Backport v3.5-branch] Add CODE_UNREACHABLE after k_thread_abort(k_current_get()) #64285

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Oct 24, 2023

Backport c166685~2..c166685 from #64157.

Fixes #61393

Flavio Ceolin added 2 commits October 24, 2023 07:05
Compiler can't tell that k_thread_abort() won't return and issues a
warning unless we tell it that control never gets this far.

Signed-off-by: Flavio Ceolin <[email protected]>
(cherry picked from commit 564adad)
Do not abort k_current_get() from ISR.

Signed-off-by: Flavio Ceolin <[email protected]>
(cherry picked from commit c166685)
@jhedberg jhedberg merged commit 2d4916c into v3.5-branch Oct 31, 2023
29 checks passed
@nashif nashif deleted the backport-64157-to-v3.5-branch branch February 13, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Kernel area: Neural Networks area: POSIX POSIX API Library area: Shell Shell subsystem area: Testsuite Testsuite Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants