PCI: cleanup pci_scan_bridge
Status from this message: I applied all these to pci/scan-bridge for v3.15, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | PCI: Increment max correctly in pci_scan_bridge.drivers/ | +3 | 0 replies | |
| 2/8 | PCI: Clarify the "scan anyway" comment in pci_scan_bridge.drivers/ | +4 | 0 replies | |
| 3/8 | PCI: Assign CardBus bus number only during the second pass.drivers/ | +1 | 0 replies | |
| 4/8 | PCI: Use request_resource_conflict instead of insert_ for bus numbers.drivers/ | +1 | 0 replies | |
| 5/8 | PCI: Make sure bus number resources stay within their parents bounds.drivers/ | +9 | 0 replies | |
| 6/8 | PCI: Remove pci_fixup_parent_subordinate_busnr.drivers/ | +0 | 0 replies | |
| 7/8 | PCI: Check for child busses which use more bus numbers than allocated.drivers/ | +7 | 0 replies | |
| 8/8 | PCI: Don't scan random busses in pci_scan_bridge.drivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] PCI: cleanup pci_scan_bridge
I have been reading the code around pci_scan_bridge and noticed a few oddities. These patches try to cleanup some of the these things.
Most of the patches make also sense in isolation, but some make more sense with the previous ones applied as well. None of the patches fix any observed bugs. Patch 5 fixes a (probably harmless) dmesg.
The changes related to CardBus probing are completely untested.
Andreas
Andreas Noever (8):
PCI: Increment max correctly in pci_scan_bridge.
PCI: Clarify the "scan anyway" comment in pci_scan_bridge.
PCI: Assign CardBus bus number only during the second pass.
PCI: Use request_resource_conflict instead of insert_ for bus numbers.
PCI: Make sure bus number resources stay within their parents bounds.
PCI: Remove pci_fixup_parent_subordinate_busnr.
PCI: Check for child busses which use more bus numbers than allocated.
PCI: Don't scan random busses in pci_scan_bridge.
drivers/pci/probe.c | 78 +++++++++++++++++++++-------------------------------- 1 file changed, 31 insertions(+), 47 deletions(-)
Signature · 1 line
1.8.5.3