-
Notifications
You must be signed in to change notification settings - Fork 7.3k
tests: build_system: intc_nxp_irqsteer.c build warning #88996
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
Labels
bug
The issue is a bug, or the PR is fixing a bug
Comments
@hakehuang this looks like a false positive Warning is:
Relevant code is:
|
dbaluta
added a commit
to nxp-upstream/zephyr
that referenced
this issue
Apr 24, 2025
Move initialization of 'enabled' variable together with declaration. This fixes the following compiler error: error: 'enabled' may be used uninitialized [-Werror=maybe-uninitialized] This is not really an error but the compiler is tricked by the K_SPINLOCK() macro. Fixes: zephyrproject-rtos#88996 Signed-off-by: Daniel Baluta <[email protected]>
@dbaluta this is reported by tool-chain, and seeing below the
|
@hakehuang I have sent a fix. The issue is also discussed here: #78066 |
kartben
pushed a commit
that referenced
this issue
Apr 24, 2025
Move initialization of 'enabled' variable together with declaration. This fixes the following compiler error: error: 'enabled' may be used uninitialized [-Werror=maybe-uninitialized] This is not really an error but the compiler is tricked by the K_SPINLOCK() macro. Fixes: #88996 Signed-off-by: Daniel Baluta <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Please also mention any information which could help others to understand
the problem you're facing:
specific commit?
#eaa1addb5eba17022fd24c0ae530a15923a062d4
To Reproduce
Expected behavior
build pass
Impact
intc code logic
Logs and console output
see above
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: