diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-09-29 19:12:43 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-10-19 23:01:10 +0200 |
commit | 4645bf306746106f805d2afa5330bf31df381626 (patch) | |
tree | 5cd174f16d7035b366d5293d1d35a5cc27458721 /arch/x86/pci | |
parent | xen/pciback: Do not dereference psdev during printk when it is NULL. (diff) | |
download | linux-4645bf306746106f805d2afa5330bf31df381626.tar.xz linux-4645bf306746106f805d2afa5330bf31df381626.zip |
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 'arch/x86/pci')
0 files changed, 0 insertions, 0 deletions