xiaoxiang781216 commented on code in PR #20777:
URL: https://github.com/apache/nuttx/pull/20777#discussion_r4308033774


##########
binfmt/binfmt_execmodule.c:
##########
@@ -86,6 +87,7 @@ static void exec_swap(FAR struct tcb_s *ptcb, FAR struct 
tcb_s *chtcb)
 #ifdef CONFIG_SCHED_HAVE_PARENT
 #  ifdef CONFIG_SCHED_CHILD_STATUS
   FAR struct child_status_s *tg_children;

Review Comment:
   remove, let's reuse child



##########
binfmt/binfmt_execmodule.c:
##########
@@ -86,6 +87,7 @@ static void exec_swap(FAR struct tcb_s *ptcb, FAR struct 
tcb_s *chtcb)
 #ifdef CONFIG_SCHED_HAVE_PARENT
 #  ifdef CONFIG_SCHED_CHILD_STATUS
   FAR struct child_status_s *tg_children;
+  FAR struct child_status_s *child;
 #  else
   uint16_t   tg_nchildren;

Review Comment:
   ```suggestion
     uint16_t   nchildren;
   ```



-- 
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]

Reply via email to