Skip to content

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:
0861990

- added missing parenthesis around macro argument expansion

Signed-off-by: frei tycho <tfrei@baumer.com>
@aescolar aescolar merged commit 7260b89 into zephyrproject-rtos:main May 8, 2024
@tychofrei02 tychofrei02 deleted the misra_rule_20_7_auditable_to_main_in_include/linker branch May 16, 2024 14:05
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.

5 participants