From: Andreas Noever Date: Thu, 23 Jan 2014 20:59:27 +0000 (+0100) Subject: PCI: Check for child busses which use more bus numbers than allocated X-Git-Tag: v3.15-rc1~143^2~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c95b0bd6ca3dbb1abf8394c38d26df65d890cb9a;p=pandora-kernel.git PCI: Check for child busses which use more bus numbers than allocated pci_scan_child_bus can (potentially) return a bus number higher than the subordinate value of the child bus. Possible reasons are that bus numbers are reserved for SR-IOV or for CardBus (SR-IOV is done without checks and the CardBus checks are sketchy at best). We clamp the returned value to the actual subordinate value and print a warning if too many bus numbers are reserved. [bhelgaas: whitespace] Signed-off-by: Andreas Noever Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed