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

tests: kernel: workq_stop uninitialized variable #83801

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RobinKastberg
Copy link
Contributor

test_k_workqueue_stop uses an uninitialized variable, causing sporadic test failures.

Documentation for k_work_queue_start says:

pointer to the queue structure. It must be initialized in zeroed/bss memory or with @ref k_work_queue_init before
use.

Fixes #83047

test_k_workqueue_stop uses an uninitialized variable, causing
sporadic test failures.

Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Kernel size: XS A PR changing only a single line of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kernel: workq: work_queue: kernel.workqueue fails
4 participants