mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 15:14:27 +00:00
- Define the array for 'struct irq_desc' with its size The array size for 'struct irq_desc' is constant and will not be changed. - Use array rather than a pointer to avoid the pointer arithmetic. Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>