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


##########
sched/task/task_fork.c:
##########
@@ -359,6 +359,7 @@ FAR struct tcb_s *nxtask_setup_fork(start_t retaddr, bool 
vfork)
 
   if (ret < OK)
     {
+      ret = -ENOMEM;

Review Comment:
   let's correct up_create_stack return value instead



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