Skip to content

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

Merged
xiaoxiang781216 merged 1 commit intoapache:releases/12.8from
jerpelea:bp-15207
Dec 17, 2024
Merged

{bp-15207} nuttx/can.h: delete "begin_packed_struct" and "end_packed_struct" qualifier#15215
xiaoxiang781216 merged 1 commit intoapache:releases/12.8from
jerpelea:bp-15207

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

…lifier

Signed-off-by: zhaohaiyang1 <zhaohaiyang1@xiaomi.com>
@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