mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-14 11:55:22 +08:00
bsps/powerpc/gen83xx/irq/irq.c: Address type-limits warnings
These changes were made to address GCC -Wtype-limits warnings. In this case, the irq was unsigned and there was no need to check it being <= 0.
This commit is contained in:
committed by
Gedare Bloom
parent
53affed6e9
commit
005f209af6
@@ -44,7 +44,8 @@
|
||||
|
||||
#define MPC83XX_IPIC_VECTOR_NUMBER 92
|
||||
|
||||
#define MPC83XX_IPIC_IS_VALID_VECTOR( vector) ((vector) >= 0 && (vector) < MPC83XX_IPIC_VECTOR_NUMBER)
|
||||
#define MPC83XX_IPIC_IS_VALID_VECTOR( vector) \
|
||||
((vector) < MPC83XX_IPIC_VECTOR_NUMBER)
|
||||
|
||||
#define MPC83XX_IPIC_INVALID_MASK_POSITION 255
|
||||
|
||||
|
||||
Reference in New Issue
Block a user