acassis commented on code in PR #14547:
URL: https://github.com/apache/nuttx/pull/14547#discussion_r1820798994
##########
mm/mm_heap/mm_memalign.c:
##########
@@ -287,5 +288,8 @@ FAR void *mm_memalign(FAR struct mm_heap_s *heap, size_t
alignment,
alignedchunk = (uintptr_t)kasan_unpoison((FAR const void *)alignedchunk,
size - MM_ALLOCNODE_OVERHEAD);
DEBUGASSERT(alignedchunk % alignment == 0);
+#ifdef CONFIG_DEBUG_MM_INFO
+ minfo("Aligned %p to %p, size %d\n", rawchunk, alignedchunk, size);
+#endif
Review Comment:
Good point! minfo() is only enabled when CONFIG_DEBUG_MM_INFO is already
selected in menuconfig
--
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]