projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI: Drop references acquired by of_parse_phandle()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
pci
/
host
/
pci-xgene.c
diff --git
a/drivers/pci/host/pci-xgene.c
b/drivers/pci/host/pci-xgene.c
index a9dfb70d623ae0acbb54d96ada58a68ecc3074fe..4c2fb1f78d62f512d2d6f055fd6a95b95a8d1c63 100644
(file)
--- a/
drivers/pci/host/pci-xgene.c
+++ b/
drivers/pci/host/pci-xgene.c
@@
-514,6
+514,7
@@
static int xgene_pcie_msi_enable(struct pci_bus *bus)
if (!bus->msi)
return -ENODEV;
+ of_node_put(msi_node);
bus->msi->dev = &bus->dev;
return 0;
}