]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/pciback: Check if the device is found instead of blindly assuming so.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 29 Sep 2011 17:12:43 +0000 (13:12 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 29 Sep 2011 18:33:25 +0000 (14:33 -0400)
commit2280dd329188862afb6038e9de5ee90e8630e0ef
treeae5d28a663c990d7b5315e4ce10cfd087a364fc9
parentba476d236be144e04996cf99b541010fab2d2130
xen/pciback: Check if the device is found instead of blindly assuming so.

Just in case it is not found, don't try to dereference it.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-pciback/pci_stub.c