zephyr/drivers/pcie
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
..
endpoint drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
host drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
CMakeLists.txt
Kconfig