> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > Sent: Friday, November 25, 2022 7:27 AM > +/** > + * pci_ims_free_irq - Allocate an interrupt on a PCI/IMS interrupt domain > + * which was allocated via pci_ims_alloc_irq() > + * @dev: The PCI device to operate on > + * @map: A struct msi_map describing the interrupt to free as > + * returned from pci_ims_alloc_irq() > + */ > +void pci_ims_free_irq(struct pci_dev *dev, struct msi_map map) > +{ > + if (WARN_ON_ONCE(map.index < 0 || !map.virq)) > + return; "map.virq <= 0"