W-M-R commented on code in PR #15484:
URL: https://github.com/apache/nuttx/pull/15484#discussion_r1912648514


##########
mm/mm_heap/mm.h:
##########
@@ -182,13 +201,22 @@ struct mm_allocnode_s
   FAR void *backtrace[CONFIG_MM_BACKTRACE]; /* The backtrace buffer for caller 
*/
 #  endif
 #endif
-};
+}MM_NODE_STRUCT_PENDING;

Review Comment:
   
![image](https://github.com/user-attachments/assets/349d507b-8f8f-418c-be02-8012dcfbf0b7)
   The ptr that the user gets is the size of our node plus the size of the 
entire result body, so the entire structure must also be aligned



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to