zephyr/kernel
Anas Nashif 3f4f3f6c43 kernel: make tests of a value against zero should be made explicit
Tests of a value against zero should be made explicit, unless the
operand is effectively Boolean. This is based on MISRA rule 14.4.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-04-01 05:34:17 -04:00
..
include kernel/arch: cleanup function definitions 2021-04-01 05:34:17 -04:00
atomic_c.c
banner.c
cache_handlers.c
CMakeLists.txt
compiler_stack_protect.c
condvar.c
device.c x86: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
errno.c
fatal.c kernel: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
futex.c kernel: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
idle.c clock: remove z_ from semi-public APIs 2021-03-19 11:22:17 -04:00
init.c kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04:00
Kconfig kernel: remove EXPERIMENTAL from some Kconfigs 2021-03-23 13:01:08 +01:00
kheap.c clock: renmae z_timeout_end_calc -> sys_clock_timeout_end_calc 2021-03-19 11:22:17 -04:00
mailbox.c kernel/arch: cleanup function definitions 2021-04-01 05:34:17 -04:00
mem_domain.c kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04:00
mem_slab.c kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04:00
mempool.c kernel: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
mmu.c kernel/arch: cleanup function definitions 2021-04-01 05:34:17 -04:00
msg_q.c kernel/arch: cleanup function definitions 2021-04-01 05:34:17 -04:00
mutex.c
pipes.c kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04:00
poll.c kernel: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
queue.c
sched.c kernel: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
sem.c
smp.c kernel: smp: Remove unused internal API z_smp_reacquire_global_lock() 2021-03-14 18:32:26 -04:00
stack.c
system_work_q.c
thread.c kernel: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
timeout.c clock: renmae z_timeout_end_calc -> sys_clock_timeout_end_calc 2021-03-19 11:22:17 -04:00
timer.c kernel: timer: Fix incorrect behavior for timers with K_FOREVER period 2021-03-07 08:00:08 -05:00
userspace_handler.c
userspace.c kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04:00
version.c
work.c kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04:00
xip.c