From: Wei Yongjun Date: Thu, 14 Aug 2014 00:56:22 +0000 (+0800) Subject: IB/srp: Fix return value check in srp_init_module() X-Git-Tag: cleanup-for-v3.18~21^2^11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da05be290f5040e488ea4d13edc4da889f6f6929;p=pandora-kernel.git IB/srp: Fix return value check in srp_init_module() In case of error, the function create_workqueue() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Acked-by: Bart Van Assche Signed-off-by: Roland Dreier --- Reading git-diff-tree failed