This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 14ba7a7dd1 sched: build error fix in task_exithook 14ba7a7dd1 is described below commit 14ba7a7dd1e0bbcecf277b1ff230fde6b0a91292 Author: wangbowen6 <wangbow...@xiaomi.com> AuthorDate: Fri Mar 3 16:59:17 2023 +0800 sched: build error fix in task_exithook CC: task/task_recover.c task/task_exithook.c: In function 'nxtask_exithook': task/task_exithook.c:464:11: error: 'struct tcb_s' has no member named 'cmn' 464 | if ((tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_KERNEL) | ^~ CC: opus/silk/shell_coder.c make[1]: *** [Makefile:60: task_exithook.o] Error 1 Signed-off-by: wangbowen6 <wangbow...@xiaomi.com> --- sched/task/task_exithook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/task/task_exithook.c b/sched/task/task_exithook.c index 9a2392b742..c0a0b31d69 100644 --- a/sched/task/task_exithook.c +++ b/sched/task/task_exithook.c @@ -461,7 +461,7 @@ void nxtask_exithook(FAR struct tcb_s *tcb, int status) nxsig_cleanup(tcb); /* Deallocate Signal lists */ #ifdef CONFIG_SCHED_DUMP_LEAK - if ((tcb->cmn.flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_KERNEL) + if ((tcb->flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_KERNEL) { kmm_memdump(tcb->pid); }