zephyr/lib/os
ferar alashkar 11e2c58928 lib: os: hex: clarify controlling expression
add explicit boolean type to 'if' statement controlling expression, thus
improving code readability and maintainability, complying with required
[misra-c2012-14.4] rule which states; The controlling expression of an
if statement and the controlling expression of an iteration-statement
shall have essentially boolean type.

Found as a coding guideline violation (Rule 14.4) by static code
scanning tool.

Note: Tested on STM32L5 Nucleo-144 board (stm32l552xx).

Signed-off-by: ferar alashkar <ferar.alashkar@gmail.com>
2023-08-23 16:06:05 +01:00
..
CMakeLists.txt lib: crc: move from lib/os to lib/crc 2023-08-18 08:52:16 +03:00
Kconfig lib: crc: move from lib/os to lib/crc 2023-08-18 08:52:16 +03:00
Kconfig.cbprintf lib/cbprintf: CONFIG_CBPRINTF_LIBC_SUBSTS should be optional 2023-08-07 11:26:40 +02:00
Kconfig.heap
assert.c
base64.c
bitarray.c
cbprintf.c
cbprintf_complete.c
cbprintf_nano.c
cbprintf_packaged.c
dec.c lib: os: dec: add misra-c2012 compliance changes 2023-07-28 11:15:44 +02:00
fdtable.c
heap-validate.c
heap.c
heap.h
heap_listener.c
hex.c lib: os: hex: clarify controlling expression 2023-08-23 16:06:05 +01:00
json.c json: Skip unknown fields on parsing 2023-07-18 11:03:21 +00:00
mem_blocks.c
mpsc_pbuf.c
multi_heap.c
mutex.c
notify.c
onoff.c
p4wq.c
poweroff.c lib: os: add support for system power off 2023-08-04 16:59:36 +02:00
printk.c
rb.c
reboot.c
ring_buffer.c
sem.c
shared_multi_heap.c shared_multi_heap: Use a data struct 2023-07-26 07:56:39 -04:00
spsc_pbuf.c
thread_entry.c kernel: canaries: Allow using TLS to store it 2023-08-08 19:08:04 -04:00
timeutil.c
user_work.c
utf8.c
winstream.c