From da05be290f5040e488ea4d13edc4da889f6f6929 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Thu, 14 Aug 2014 08:56:22 +0800 Subject: [PATCH] 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-format-patch failed