aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorLorenzo Pieralisi <[email protected]>2017-07-10 09:58:46 -0500
committerBjorn Helgaas <[email protected]>2017-07-31 14:37:53 -0500
commit902d886d4474a4d2661ae337f3c30dc7a8e59f28 (patch)
tree55cb8ca98a66d1325d1ff7d516eedcec4b20b56d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff)
MIPS: PCI: Fix pcibios_scan_bus() NULL check code path
If pci_scan_root_bus() fails (ie returns NULL) pcibios_scan_bus() must return immediately since the struct pci_bus pointer it returns is not valid and cannot be used. Move code checking the pci_scan_root_bus() return value to reinstate proper pcibios_scanbus() error path behaviour. Fixes: 88555b481958 ("MIPS: PCI: Support for CONFIG_PCI_DOMAINS_GENERIC") Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Paul Burton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions