From f40311864715ad3d29da087b2f4e539226f6d779 Mon Sep 17 00:00:00 2001 From: anjiahao Date: Thu, 22 Dec 2022 16:37:38 +0800 Subject: [PATCH] mm:fix typos ./mm_heap/mm.h:86:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token 86 | FAR strcut tcb_s *tcb; \ Signed-off-by: anjiahao --- mm/mm_heap/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mm_heap/mm.h b/mm/mm_heap/mm.h index a8afdea8f3..54644038df 100644 --- a/mm/mm_heap/mm.h +++ b/mm/mm_heap/mm.h @@ -83,7 +83,7 @@ { \ FAR struct mm_allocnode_s *tmp = (FAR struct mm_allocnode_s *)(ptr); \ kasan_unpoison(tmp, SIZEOF_MM_ALLOCNODE); \ - FAR strcut tcb_s *tcb; \ + FAR struct tcb_s *tcb; \ tmp->pid = gettid(); \ tcb = nxsched_get_tcb(tmp->pid); \ if ((heap)->mm_procfs.backtrace || (tcb && tcb->flags & TCB_FLAG_HEAP_DUMP)) \