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:
5d02614e34a86b549c7707d3d9f0984bc3a5f22a
Signed-off-by: Simon Hein <SHein@baumer.com>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| controller.c | ||
| Kconfig | ||
| msi.c | ||
| pcie_ecam.c | ||
| pcie.c | ||
| ptm.c | ||
| ptm.h | ||
| shell.c | ||