mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-13 00:18:38 +00:00
Fix the type for vector in ioapic setup, which is a potential problem: - return VECTOR_INVALID instead of false in irq_desc_alloc_vector() when irq is out of range; - change variable type from int to uint32_t for vector, and correct the returned value check. Signed-off-by: Yan, Like <like.yan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>