Skip to content

drivers: modem: replace K_SPINLOCK macro where needed #90200

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

FKainka
Copy link
Contributor

@FKainka FKainka commented May 20, 2025

This PR is related to the following Zephyr PR:
#81431
Some compilers (e.g. arm-zephyr-eabi-gcc) don't understand
the K_SPINLOCK() macro and therefore do warn about
uninitialized variables in the modem related modules.
Fix: Replaced the K_SPINLOCK macro with explicit k_spin_lock/k_spin_unlock calls
only at relevant locations in the modem subsystem.

Signed-off-by: Fabian Kainka [email protected]

…needed

This PR is related to the following Zephyr PR:
zephyrproject-rtos#81431
Some compilers (e.g. arm-zephyr-eabi-gcc) don't understand
the K_SPINLOCK() macro and therefore do warn about
uninitialized variables in the modem related modules.
Fix: Replaced the K_SPINLOCK macro with explicit k_spin_lock/k_spin_unlock calls
only at relevant locations in the modem subsystem.

Signed-off-by: Fabian Kainka <[email protected]>
Copy link

Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants