zephyr/kernel
Flavio Ceolin 8f488ff32e kernel: stack: Fix k_stack_pop api
_pend_current_thread can return any arbitrary value set by
_set_thred_return_value(), it happens that most cases set 0. This
function can not rely on this behavior otherwise it may return an
invalid value and/or not set data's value.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2018-09-18 13:57:39 -04:00
..
include kernel: Using boolean constants instead of 0 or 1 2018-09-18 13:57:15 -04:00
alert.c kernel: Using boolean constants instead of 0 or 1 2018-09-18 13:57:15 -04:00
atomic_c.c
CMakeLists.txt
compiler_stack_protect.c
device.c
errno.c
idle.c kernel: Using boolean constants instead of 0 or 1 2018-09-18 13:57:15 -04:00
init.c kernel: Using boolean constants instead of 0 or 1 2018-09-18 13:57:15 -04:00
int_latency_bench.c
Kconfig
Kconfig.power_mgmt
mailbox.c
mem_domain.c
mem_slab.c
mempool.c kernel: Using boolean constants instead of 0 or 1 2018-09-18 13:57:15 -04:00
msg_q.c kernel: Make If statement have essentially Boolean type 2018-09-18 13:57:15 -04:00
mutex.c kernel: Make If statement have essentially Boolean type 2018-09-18 13:57:15 -04:00
pipes.c kernel: Compare pointers with NULL in while statements 2018-09-18 13:57:15 -04:00
poll.c kernel: Make If statement have essentially Boolean type 2018-09-18 13:57:15 -04:00
queue.c kernel: Compare pointers with NULL in while statements 2018-09-18 13:57:15 -04:00
sched.c kernel: Make If statement have essentially Boolean type 2018-09-18 13:57:15 -04:00
sem.c
smp.c
stack.c kernel: stack: Fix k_stack_pop api 2018-09-18 13:57:39 -04:00
sys_clock.c kernel: Compare pointers with NULL in while statements 2018-09-18 13:57:15 -04:00
system_work_q.c
thread_abort.c
thread.c kernel: Compare pointers with NULL in while statements 2018-09-18 13:57:15 -04:00
timer.c kernel: Make If statement have essentially Boolean type 2018-09-18 13:57:15 -04:00
userspace_handler.c
userspace.c kernel: Make If statement have essentially Boolean type 2018-09-18 13:57:15 -04:00
version.c
work_q.c kernel: Using boolean constants instead of 0 or 1 2018-09-18 13:57:15 -04:00