vxj9800 commented on code in PR #6347:
URL: https://github.com/apache/incubator-nuttx/pull/6347#discussion_r885180891


##########
fs/cromfs/cromfs.h:
##########
@@ -116,6 +116,6 @@ struct cromfs_node_s
     uint32_t cn_link;    /* Offset to an arbitrary node (for hard link) */
     uint32_t cn_blocks;  /* Offset to first block of compressed data (for 
read) */
   } u;
-};
+} __attribute__((packed)); /* Added to resolve hardFault caused by unaligned 
memory access of cromfs nodes.

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to