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

Merge tag 'pci-v6.17-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci

Pull pci fix from Bjorn Helgaas:

- Fix vmd MSI interrupt domain restructure that caused crash early in
boot (Nam Cao)

* tag 'pci-v6.17-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
PCI: vmd: Fix wrong kfree() in vmd_msi_free()

+3 -1
+3 -1
drivers/pci/controller/vmd.c
··· 280 280 static void vmd_msi_free(struct irq_domain *domain, unsigned int virq, 281 281 unsigned int nr_irqs) 282 282 { 283 + struct irq_data *irq_data; 283 284 struct vmd_irq *vmdirq; 284 285 285 286 for (int i = 0; i < nr_irqs; ++i) { 286 - vmdirq = irq_get_chip_data(virq + i); 287 + irq_data = irq_domain_get_irq_data(domain, virq + i); 288 + vmdirq = irq_data->chip_data; 287 289 288 290 synchronize_srcu(&vmdirq->irq->srcu); 289 291