summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2017-02-10 09:52:02 +0300
committerBjorn Helgaas <bhelgaas@google.com>2017-02-11 00:42:01 +0300
commitf1d722b607d610b66785f7f00d2e1d457260647c (patch)
treefe8b6d0d7125ec24b41cfaba0b583aacdd4d9a10 /tools/perf/scripts/python/stackcollapse.py
parent0b351c986a5ffedb502632c1b27690c9730d79c4 (diff)
downloadlinux-f1d722b607d610b66785f7f00d2e1d457260647c.tar.xz
PCI: rockchip: Fix rockchip_pcie_probe() error path to free resource list
rockchip_pcie_probe() calls of_pci_get_host_bridge_resources() to parse resources from DT and build a resource list. The caller is responsible for disposing of the resource list. This is normally done by pci_release_host_bridge_dev() when the host bridge is removed. If the host bridge probe fails, dispose of the resource list in the probe error path. [bhelgaas: changelog] Suggested-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions