zephyr/drivers/pcie/host
Simon Hein d0921018fc drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks
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 `do { ... } while (false)' instead of `do { ... } while (0)'.
Use comparisons with zero instead of implicitly testing integers.

The commit is a subset of the original auditable-branch commit:
5d02614e34

Signed-off-by: Simon Hein <SHein@baumer.com>
2022-07-26 15:30:24 -04:00
..
CMakeLists.txt
Kconfig kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
controller.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
msi.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
pcie.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
pcie_ecam.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
ptm.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
ptm.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
shell.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00