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

drivers: added missing parenthesis #72886

Conversation

tychofrei02
Copy link
Contributor

Added missing parentheses around macro argument expansion.

This corresponds to following coding guideline:

Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses

This PR is part of the enhancement issue #48002 which port the coding guideline fixes done by BUGSENG on the https://github.com/zephyrproject-rtos/zephyr/tree/v2.7-auditable-branch back to main

The commit in this PR is a subset of the original auditable-branch commit:
3c1d1a1

- added missing parenthesis around macro argument expansion

Signed-off-by: frei tycho <tfrei@baumer.com>
@zephyrbot zephyrbot added area: Interrupt Controller Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. labels May 16, 2024
@carlescufi carlescufi merged commit caf332e into zephyrproject-rtos:main May 17, 2024
26 checks passed
@tychofrei02 tychofrei02 deleted the misra_rule_20_7_auditable_to_main_in_drivers branch May 17, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Interrupt Controller 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.

None yet

5 participants