You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/10/20 19:54:24 UTC
[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #7364: Support the stack size and address for posix_spawn and kernel mode
pkarashchenko commented on code in PR #7364:
URL: https://github.com/apache/incubator-nuttx/pull/7364#discussion_r1001052600
##########
binfmt/binfmt_exec.c:
##########
@@ -106,11 +106,16 @@ int exec_spawn(FAR const char *filename, FAR char * const *argv,
bin->priority = attr->priority;
}
-#ifndef CONFIG_BUILD_KERNEL
if (attr->stacksize > 0)
{
bin->stacksize = attr->stacksize;
}
+
+#ifndef CONFIG_BUILD_KERNEL
+ if (attr->stackaddr)
Review Comment:
```suggestion
if (attr->stackaddr != NULL)
```
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org