From: Steve Wise Date: Thu, 6 Oct 2011 16:32:44 +0000 (-0700) Subject: RDMA/cxgb4: Fail RDMA initialization for unsupported cards X-Git-Tag: v3.2-rc1~104^2^4~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9efe10a1e1a1ab1dba0af0f520e0697f6e81ebf1;p=pandora-kernel.git RDMA/cxgb4: Fail RDMA initialization for unsupported cards The iw_cxgb4 module crashes at init time if the T4 card does not support RDMA. So clean up the init logic to correctly deal with non-RDMA cards. - If any RDMA resources are not available, then fail the initialization logging an info message. - Clean up properly on initialization failures. Signed-off-by: Steve Wise Signed-off-by: Roland Dreier --- Reading git-diff-tree failed