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

{bp-15207} nuttx/can.h: delete "begin_packed_struct" and "end_packed_struct" qualifier #15215

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

jerpelea
Copy link
Contributor

@jerpelea jerpelea commented Dec 16, 2024

Summary

delete "begin_packed_struct" and "end_packed_struct" qualifiers of struct can_msg_s
for resolving the problem that is data address not alignment!
the reason of the problem is forcing to use uint32 to access cm_data, then system will crash.

Impact

RELEASE

Testing

CI

@github-actions github-actions bot added the Size: XS The size of the change in this PR is very small label Dec 16, 2024
@xiaoxiang781216 xiaoxiang781216 merged commit bb7562c into apache:releases/12.8 Dec 17, 2024
27 checks passed
@jerpelea jerpelea deleted the bp-15207 branch December 17, 2024 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants