diff options
author | Jon Mason <jon.mason@intel.com> | 2013-01-19 13:02:16 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-21 03:45:50 +0400 |
commit | 8222b402e2df3b92948141046bae82fb774f3f64 (patch) | |
tree | e4102fb924c2fd047dcddc04dd502486b77d9955 /virt/kvm/irq_comm.c | |
parent | 2910fe2a7d0dc0d01944110e462045441ba0856f (diff) | |
download | linux-8222b402e2df3b92948141046bae82fb774f3f64.tar.xz |
NTB: Handle ntb client device probes without present hardware
Attempts to probe client ntb drivers without ntb hardware present will
result in null pointer dereference due to the lack of the ntb bus device
being registers. Check to see if this is the case, and fail all calls
by the clients registering their drivers.
Signed-off-by: Jon Mason <jon.mason@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt/kvm/irq_comm.c')
0 files changed, 0 insertions, 0 deletions