]> git.karo-electronics.de Git - linux-beck.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>
Wed, 30 May 2012 14:16:35 +0000 (10:16 -0400)
commit780dbcd0eedec6528d777b668019dabb36badf1a
treebde78829e272a7a7930dd25f40ee28c5fd56fa13
parent5e152e6c4b0da84c66cad56597b42c4ecedb0448
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