zephyr/drivers/interrupt_controller
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 drivers: Add ACE V1X interrupt controller 2022-07-06 15:11:07 -04:00
Kconfig Kconfig: Introduce RISCV_HAS_CLIC 2022-07-11 14:31:39 +02:00
Kconfig.cavs
Kconfig.clic Kconfig: Introduce RISCV_HAS_CLIC 2022-07-11 14:31:39 +02:00
Kconfig.dw drivers: Add ACE V1X interrupt controller 2022-07-06 15:11:07 -04:00
Kconfig.esp32
Kconfig.esp32c3
Kconfig.gd32_exti
Kconfig.gic
Kconfig.intel_vtd
Kconfig.it8xxx2
Kconfig.loapic
Kconfig.multilevel
Kconfig.multilevel.aggregator_template
Kconfig.npcx
Kconfig.plic Kconfig: Introduce RISCV_HAS_CLIC 2022-07-11 14:31:39 +02:00
Kconfig.rv32m1
Kconfig.sam0
Kconfig.shared_irq
Kconfig.stm32
Kconfig.xec
intc_arcv2_irq_unit.c
intc_cavs.c intel_adsp: move cavs to be a series 2022-07-25 16:50:24 -04:00
intc_cavs.h
intc_dw.c
intc_dw.h
intc_dw_ace_v1x.c drivers: Add ACE V1X interrupt controller 2022-07-06 15:11:07 -04:00
intc_esp32.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
intc_esp32c3.c
intc_exti_stm32.c
intc_gd32_exti.c
intc_gic.c
intc_gic_common_priv.h
intc_gicv3.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
intc_gicv3_its.c
intc_gicv3_priv.h
intc_intel_vtd.c
intc_intel_vtd.h
intc_ioapic.c
intc_ioapic_priv.h
intc_irqmp.c
intc_ite_it8xxx2.c
intc_ite_it8xxx2.h
intc_loapic.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
intc_loapic_spurious.S
intc_mchp_ecia_xec.c
intc_miwu.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
intc_nuclei_eclic.c riscv: Introduce API for CLIC and PLIC 2022-07-11 14:31:39 +02:00
intc_plic.c riscv: Introduce API for CLIC and PLIC 2022-07-11 14:31:39 +02:00
intc_rv32m1_intmux.c
intc_sam0_eic.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
intc_sam0_eic_priv.h
intc_shared_irq.c
intc_swerv_pic.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
intc_system_apic.c
intc_vexriscv_litex.c
wuc_ite_it8xxx2.c