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

arch x86: added missing braces #72074

Conversation

DeHess
Copy link
Collaborator

@DeHess DeHess commented Apr 29, 2024

Fix coding guideline MISRA C:2012 Rule 15.6 in arch:

The body of an iteration-statement or a selection-statement shall be a compound-statement.

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

original commit:
071def1

- added missing braces

Signed-off-by: Hess Nathan <[email protected]>
@DeHess DeHess changed the title coding guidelines: comply with MISRA Rule 15.6 arch: added missing braces (MISRA Rule 15.6) Apr 30, 2024
@DeHess DeHess changed the title arch: added missing braces (MISRA Rule 15.6) arch: added missing braces Apr 30, 2024
@nashif nashif added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Apr 30, 2024
@aescolar aescolar changed the title arch: added missing braces arch x86: added missing braces Apr 30, 2024
@carlescufi carlescufi merged commit a1fc3b7 into zephyrproject-rtos:main Apr 30, 2024
23 checks passed
Copy link

Hi @DeHess!
Congratulations on getting your very first Zephyr pull request merged 🎉🥳. This is a fantastic achievement, and we're thrilled to have you as part of our community!

To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge.

Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: X86 x86 Architecture (32-bit) 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.

8 participants