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

coding guidelines: comply with MISRA C:2012 Rule 11.2 #71941

Conversation

DeHess
Copy link
Collaborator

@DeHess DeHess commented Apr 25, 2024

Fix coding guideline MISRA C:2012 Rule 11.2 in kernel:

avoid to convert pointers to incomplete type using the pointer to first item

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:
9043b65

- avoid to convert pointers to incomplete type using the pointer to first item

Signed-off-by: Nathan Hess <nhess@baumer.com>
@DeHess DeHess closed this Apr 26, 2024
@DeHess DeHess deleted the misra_rule_11_2_auditable_to_main_kernel branch April 26, 2024 08:18
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.

3 participants