zephyr/kernel/include
Simon Hein 02cfbfea51 kernel: comply to coding guidelines MISRA C:2012 Rule 14.4
MISRA C:2012 Rule 14.4 (The controlling expression of an if statement
and the controlling expression of an iteration-statement shall have
essentially Boolean type.)

Use `bool' instead of `int' to represent Boolean values.
Use `do { ... } while (false)' instead of `do { ... } while (0)'.
Use comparisons with zero instead of implicitly testing integers.

This commit is a subset of the original commit:
5d02614e34a86b549c7707d3d9f0984bc3a5f22a

Signed-off-by: Simon Hein <SHein@baumer.com>
2022-07-21 06:16:16 -04:00
..
gen_offset.h kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
kernel_arch_interface.h kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
kernel_internal.h kernel: Migrate to K_KERNEL_PINNED_STACK_ARRAY_DECLARE 2022-06-20 10:25:52 +02:00
kernel_offsets.h kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
kernel_tls.h kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
ksched.h kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
kswap.h kernel: comply to coding guidelines MISRA C:2012 Rule 14.4 2022-07-21 06:16:16 -04:00
mmu.h kernel: migrate includes to <zephyr/...> 2022-05-09 09:26:20 +02:00
offsets_short.h arch: arm: aarch32: cortex_a_r: Add shared FPU support 2022-05-05 12:03:27 +09:00