[PATCH 0/8] PCI: cleanup pci_scan_bridge

From: Andreas Noever
Date: Thu Jan 23 2014 - 15:59:46 EST

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 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(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/