summaryrefslogtreecommitdiff
path: root/drivers/vhost/tcm_vhost.h
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-01-19 13:02:16 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-21 03:45:50 +0400
commit8222b402e2df3b92948141046bae82fb774f3f64 (patch)
treee4102fb924c2fd047dcddc04dd502486b77d9955 /drivers/vhost/tcm_vhost.h
parent2910fe2a7d0dc0d01944110e462045441ba0856f (diff)
downloadlinux-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 'drivers/vhost/tcm_vhost.h')
0 files changed, 0 insertions, 0 deletions