nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] patacongo commented on a change in pull request #761: Merge garbage feature to mm/mm_heap
Date Thu, 09 Apr 2020 16:42:06 GMT
patacongo commented on a change in pull request #761: Merge garbage feature to mm/mm_heap
URL: https://github.com/apache/incubator-nuttx/pull/761#discussion_r406335322
 
 

 ##########
 File path: mm/mm_heap/mm_free.c
 ##########
 @@ -42,8 +42,31 @@
 #include <assert.h>
 #include <debug.h>
 
+#include <nuttx/arch.h>
+#include <nuttx/irq.h>
 #include <nuttx/mm/mm.h>
 
+/****************************************************************************
+ * Private Functions
+ ****************************************************************************/
+
+#ifdef __KERNEL__
+static void mm_add_delaylist(FAR struct mm_heap_s *heap, FAR void *mem)
+{
+  FAR struct mm_delaynode_s *new = mem;
 
 Review comment:
   Good catch.  You have very good eyes, Xiang.  I have already merged the change, but new
will cause problems for some tools.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message