From: Jon Mason Date: Sat, 19 Jan 2013 09:02:16 +0000 (-0700) Subject: NTB: Handle ntb client device probes without present hardware X-Git-Tag: v3.9-rc1~124^2~54 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8222b402e2df3b92948141046bae82fb774f3f64;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed