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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
intc_exti_stm32.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
intc_gd32_exti.c soc: arm: gigadevice: use common API headers 2022-06-22 18:41:19 +09:00
intc_gic.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
intc_gicv3_priv.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
intc_intel_vtd.c drivers: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
intc_intel_vtd.h
intc_ioapic.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
intc_ioapic_priv.h
intc_irqmp.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
intc_ite_it8xxx2.c it8xxx2: intc: Look for pending interrupt 2022-07-01 11:36:55 +02:00
intc_ite_it8xxx2.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
intc_mchp_ecia_xec.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
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 drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
intc_vexriscv_litex.c drivers: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
wuc_ite_it8xxx2.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00