From: Roland Dreier Date: Thu, 13 Oct 2005 17:45:02 +0000 (-0700) Subject: [IB] fail SA queries if device initialization failed X-Git-Tag: v2.6.15-rc1~731^2~21^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56c202d6e4f542468fe79b8a735cf128898b87fb;p=pandora-kernel.git [IB] fail SA queries if device initialization failed If the SA query module's initialization fails for a device, then that device won't have a struct ib_sa_device associated. We should fail SA queries in that case, rather than blindly dereferencing the NULL pointer we get back from ib_get_client_data(). Signed-off-by: Roland Dreier --- Reading git-diff-tree failed