diff options
author | David Daney <david.daney@cavium.com> | 2015-10-08 10:24:41 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-10-08 10:24:41 -0500 |
commit | 47ddb949029f9517a773e67b0e5eaf80ef596dad (patch) | |
tree | c98718a817f972cb15a5d1ff0efcfb6a63a20f30 /lib/seq_buf.c | |
parent | 9a28033753ca9e86593e15050c7ae02fbc03f9ae (diff) | |
download | linux-stable-47ddb949029f9517a773e67b0e5eaf80ef596dad.tar.gz linux-stable-47ddb949029f9517a773e67b0e5eaf80ef596dad.tar.bz2 linux-stable-47ddb949029f9517a773e67b0e5eaf80ef596dad.zip |
PCI: generic: Pass starting bus number to pci_scan_root_bus()
If the bus is being configured with a bus-range that does not start at
zero, pass that starting bus number to pci_scan_root_bus(). Passing the
incorrect value of zero causes attempted config accesses outside of the
supported range, which cascades to an OOPs spew and eventual kernel panic.
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions