summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2017-02-21 15:16:22 -0600
committerBjorn Helgaas <bhelgaas@google.com>2017-02-21 15:16:22 -0600
commit42d87e3ffbd53c4514bccc0f24e40d6231a567f5 (patch)
tree3a3300add380c647bf44c846225379b8f1278f8e /drivers/pci
parent2bdd584a7555d5ac3341b61e751a6ac807a9814a (diff)
parent81efbaddd687f1b478c15665716fd545e2e4401e (diff)
downloadlinux-42d87e3ffbd53c4514bccc0f24e40d6231a567f5.tar.bz2
Merge branch 'pci/msi' into next
* pci/msi: PCI/MSI: Fix msi_desc->affinity memory leak when freeing MSI IRQs
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index 93cc268c6ff1..78e4a1adb6b0 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -360,7 +360,7 @@ static void free_msi_irqs(struct pci_dev *dev)
}
list_del(&entry->list);
- kfree(entry);
+ free_msi_entry(entry);
}
if (dev->msi_irq_groups) {