drivers: added missing parenthesis

- added missing parenthesis around macro argument expansion

Signed-off-by: frei tycho <tfrei@baumer.com>
This commit is contained in:
frei tycho 2024-05-16 14:21:16 +00:00 committed by Carles Cufí
commit caf332e745

View file

@ -19,7 +19,7 @@
#include <zephyr/irq.h>
#include <zephyr/linker/sections.h>
#define IS_IOAPIC_IRQ(irq) (irq < z_loapic_irq_base())
#define IS_IOAPIC_IRQ(irq) ((irq) < z_loapic_irq_base())
#define HARDWARE_IRQ_LIMIT ((z_loapic_irq_base() + LOAPIC_IRQ_COUNT) - 1)
/**