commit | 8222b402e2df3b92948141046bae82fb774f3f64 | [log] [tgz] |
---|---|---|
author | Jon Mason <jon.mason@intel.com> | Sat Jan 19 02:02:16 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 20 15:45:50 2013 -0800 |
tree | e4102fb924c2fd047dcddc04dd502486b77d9955 | |
parent | 2910fe2a7d0dc0d01944110e462045441ba0856f [diff] |
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>