kernel: amend comment in k_thread_create handler
This behavior is expected and not of any concern. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
d0035f9779
commit
f4631d5b43
1 changed files with 3 additions and 1 deletions
|
@ -475,7 +475,9 @@ Z_SYSCALL_HANDLER(k_thread_create,
|
|||
"stack size overflow (%u+%u)", stack_size,
|
||||
K_THREAD_STACK_RESERVED));
|
||||
|
||||
/* They really ought to be equal, make this more strict? */
|
||||
/* Testing less-than-or-equal since additional room may have been
|
||||
* allocated for alignment constraints
|
||||
*/
|
||||
Z_OOPS(Z_SYSCALL_VERIFY_MSG(total_size <= stack_object->data,
|
||||
"stack size %u is too big, max is %u",
|
||||
total_size, stack_object->data));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue