summaryrefslogtreecommitdiff
path: root/drivers/xen/xenbus/xenbus_probe.c
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-09-29 17:12:43 (GMT)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-10-19 21:01:10 (GMT)
commit4645bf306746106f805d2afa5330bf31df381626 (patch)
tree5cd174f16d7035b366d5293d1d35a5cc27458721 /drivers/xen/xenbus/xenbus_probe.c
parent72bf809a19d9fc97bfe39bb928149b5e0f202cb6 (diff)
downloadlinux-fsl-qoriq-4645bf306746106f805d2afa5330bf31df381626.tar.xz
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. [v1: Added WARN_ON, suggested by Jan Beulich <JBeulich@suse.com>] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_probe.c')
0 files changed, 0 insertions, 0 deletions