The array pci_link_interrupt_weights is NUM_ACPI_INTERRUPTS, aka 256,
elements long, and is indexed by l_irq; that value is currently a
uint8_t so there is no risk of overflow at present, but it will change
type in the near future.
In acpi_pci_link_choose_irq, the array is indexed by 'pos_irq'; that
variable is not expected to change type.
Reported by: Aviv Bakal
MFC after: 5 days
Sponsored by: Amazon