incubator-nuttx/mm/mm_heap
anjiahao 5d6f6f2d47 mm:fix warning
mm_heap/mm_initialize.c:69:11: warning: array subscript -1 is outside array bounds of 'void[2147483647]' [-Warray-bounds]
   69 |       node->pid = MM_BACKTRACE_MEMPOOL_PID;
      |           ^~
mm_heap/mm_initialize.c:64:9: note: at offset -16 into object of size [0, 2147483647] allocated by 'mm_memalign'
   64 |   ret = mm_memalign(arg, alignment, size);

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-09-26 14:12:59 +08:00
..
CMakeLists.txt cmake:complete missing changes during cmake reforming for mm 2023-09-08 21:20:16 +03:00
Make.defs
mm.h mm/mm_heap: add parenthesis in macro definition 2023-09-16 14:17:47 +08:00
mm_addfreechunk.c mm: add macro to judge if node/prenode is free 2023-09-12 22:09:36 +08:00
mm_brkaddr.c mm: use unified naming style for macros 2023-09-12 22:09:36 +08:00
mm_calloc.c mm: memory allocations return valid pointer when request 0 size 2023-05-02 18:29:29 -06:00
mm_checkcorruption.c mm: add macro to judge if node/prenode is free 2023-09-12 22:09:36 +08:00
mm_extend.c mm: add macro to judge if node/prenode is free 2023-09-12 22:09:36 +08:00
mm_foreach.c mm: add macro to judge if node/prenode is free 2023-09-12 22:09:36 +08:00
mm_free.c mm: add macro to judge if node/prenode is free 2023-09-12 22:09:36 +08:00
mm_heapmember.c
mm_initialize.c mm:fix warning 2023-09-26 14:12:59 +08:00
mm_lock.c mm_lock.c: reformat preprocessor format 2023-06-24 10:54:19 -03:00
mm_mallinfo.c mm: rewrite the memdump code for more readable 2023-09-24 10:39:18 +08:00
mm_malloc.c mm: add macro to judge if node/prenode is free 2023-09-12 22:09:36 +08:00
mm_malloc_size.c mm: add macro to judge if node/prenode is free 2023-09-12 22:09:36 +08:00
mm_memalign.c mm: add macro to judge if node/prenode is free 2023-09-12 22:09:36 +08:00
mm_memdump.c mm: rewrite the memdump code for more readable 2023-09-24 10:39:18 +08:00
mm_realloc.c mm: add macro to judge if node/prenode is free 2023-09-12 22:09:36 +08:00
mm_shrinkchunk.c mm: add macro to judge if node/prenode is free 2023-09-12 22:09:36 +08:00
mm_size2ndx.c mm: support custom the mm alignment and default to be 8 2023-03-06 11:10:36 +08:00
mm_zalloc.c