summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-02-18 18:43:46 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-18 18:43:46 +0100
commitcad3ab5883b35b044200820bf2e1fbabe742740a (patch)
tree0fdb7fdb120be502f7d0976e98fa19be46b28ffb /drivers/of
parentMerge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
parentof/pci: Remove duplicate kfree in of_pci_get_host_bridge_resources() (diff)
downloadlinux-cad3ab5883b35b044200820bf2e1fbabe742740a.tar.xz
linux-cad3ab5883b35b044200820bf2e1fbabe742740a.zip
Merge tag 'pci-v3.20-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI resource management fix from Bjorn Helgaas: "This fixes a double kfree in code we merged for v3.20: Remove duplicate kfree in of_pci_get_host_bridge_resources() (Lorenzo Pieralisi)" * tag 'pci-v3.20-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: of/pci: Remove duplicate kfree in of_pci_get_host_bridge_resources()
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/of_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/of/of_pci.c b/drivers/of/of_pci.c
index 110fece2ff53..62426d81a4d6 100644
--- a/drivers/of/of_pci.c
+++ b/drivers/of/of_pci.c
@@ -229,7 +229,6 @@ parse_failed:
resource_list_for_each_entry(window, resources)
kfree(window->res);
pci_free_resource_list(resources);
- kfree(bus_range);
return err;
}
EXPORT_SYMBOL_GPL(of_pci_get_host_bridge_resources);