]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/pci: Check for PCI bridge before using it.
authorZhang, Yang Z <yang.z.zhang@intel.com>
Tue, 22 May 2012 08:40:16 +0000 (08:40 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 25 May 2012 02:30:22 +0000 (22:30 -0400)
commiteff7494e3269611c81689046ba235b3db0a9fdfe
tree4b66d04f09e958e1f61b0afcaee8a7b7604ba63f
parentf6553d0d1de2d27295557954d0d1e9e0da86abee
xen/pci: Check for PCI bridge before using it.

Some SR-IOV devices may use more than one bus number, but there is no real bridges
because that have internal routing mechanism. So need to check whether the bridge is
existing before using it.

Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/pci.c