diff options
author | Yinghai Lu <[email protected]> | 2015-01-15 10:22:31 -0600 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2015-01-16 10:04:42 -0600 |
commit | 3f2f4dc456e9f80849b99d79600a7257690ca4b1 (patch) | |
tree | ff641c8556fcf0715d77a11007d8a4a32d687894 /lib/mpi/mpi-inline.h | |
parent | c3e59ee4e76686b0c84ca8faa1011d10cd4ca1b8 (diff) |
PCI: Pass bridge device, not bus, when updating bridge windows
pci_setup_bridge_io(), pci_setup_bridge_mmio(), and
pci_setup_bridge_mmio_pref() program the windows of PCI-PCI bridges.
Previously they accepted a pointer to the pci_bus of the secondary bus,
then looked up the bridge leading to that bus. Pass the bridge directly,
which will make it more convenient for future callers.
No functional change.
[bhelgaas: changelog, split into separate patch]
Link: https://bugzilla.kernel.org/show_bug.cgi?id=85491
Reported-by: Marek Kordik <[email protected]>
Fixes: 5b28541552ef ("PCI: Restrict 64-bit prefetchable bridge windows to 64-bit resources")
Signed-off-by: Yinghai Lu <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
CC: [email protected] # v3.16+
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions