diff options
author | 2017-07-11 18:15:08 +0800 | |
---|---|---|
committer | 2017-07-12 12:50:11 -0500 | |
commit | 34d5ac2af644a10958e144b7bb937d289dfd158d (patch) | |
tree | c6555a764382e85c95106838784dcaf2ed465120 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | ARM/PCI: Fix pcibios_init_resource() struct pci_host_bridge leak (diff) | |
download | linux-dev-34d5ac2af644a10958e144b7bb937d289dfd158d.tar.xz linux-dev-34d5ac2af644a10958e144b7bb937d289dfd158d.zip |
PCI: rockchip: Check for pci_scan_root_bus_bridge() failure correctly
pci_scan_root_bus_bridge() returns zero for success, or a negative errno.
A typo in ae13cb9b1926 ("PCI: rockchip: Convert PCI scan API to
pci_scan_root_bus_bridge()") treated zero as a failure.
Fix the typo.
Fixes: ae13cb9b1926 ("PCI: rockchip: Convert PCI scan API to pci_scan_root_bus_bridge()")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
[bhelgaas: changelog]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions