Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'irq-urgent-2023-02-19' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull irq fix from Thomas Gleixner:
"A single build fix for the PCI/MSI infrastructure.

The addition of the new alloc/free interfaces in this cycle forgot to
add stub functions for pci_msix_alloc_irq_at() and pci_msix_free_irq()
for the CONFIG_PCI_MSI=n case"

* tag 'irq-urgent-2023-02-19' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
PCI/MSI: Provide missing stubs for CONFIG_PCI_MSI=n

+12
+12
include/linux/pci.h
··· 1621 1621 flags, NULL); 1622 1622 } 1623 1623 1624 + static inline struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index, 1625 + const struct irq_affinity_desc *affdesc) 1626 + { 1627 + struct msi_map map = { .index = -ENOSYS, }; 1628 + 1629 + return map; 1630 + } 1631 + 1632 + static inline void pci_msix_free_irq(struct pci_dev *pdev, struct msi_map map) 1633 + { 1634 + } 1635 + 1624 1636 static inline void pci_free_irq_vectors(struct pci_dev *dev) 1625 1637 { 1626 1638 }