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

style: Add parens to the disp expr #83403

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

rruuaanng
Copy link
Collaborator

Add parentheses to the displacement expression
to prevent priority issues after macro expansion.

@rruuaanng
Copy link
Collaborator Author

rruuaanng commented Dec 26, 2024

Fixes: #83061 (Maybe)

cc @kartben

I'm sorry, it seems that I can't explain why CI has an error. But we can try this solution, CI throws a problem about the parsing of the < character, but this does not affect the style of the macro added by this PR.

Add parentheses to the displacement expression
to prevent priority issues after macro expansion.

Signed-off-by: James Roy <[email protected]>
@gmarull gmarull added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Jan 2, 2025
@gmarull gmarull requested review from kartben and soburi January 2, 2025 09:20
@kartben kartben merged commit d6b01bc into zephyrproject-rtos:main Jan 6, 2025
26 checks passed
@rruuaanng rruuaanng deleted the fix-rpi-err branch January 7, 2025 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Pinctrl Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants