From: Dan Carpenter Date: Fri, 4 Nov 2011 18:27:32 +0000 (+0300) Subject: IB/srpt: Fix ERR_PTR() vs. NULL checking confusion X-Git-Tag: v3.3-rc3~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af336376f77859da84bb1156ef29d5337b316a9;p=pandora-kernel.git IB/srpt: Fix ERR_PTR() vs. NULL checking confusion transport_init_session() and target_fabric_configfs_init() don't return NULL pointers, they only return ERR_PTRs or valid pointers. Signed-off-by: Dan Carpenter Signed-off-by: Roland Dreier --- Reading git-diff-tree failed