From: Wei Yongjun Date: Fri, 21 Sep 2012 05:57:31 +0000 (+0800) Subject: sbp-target: fix return value check in sbp_register_configfs() X-Git-Tag: v3.7-rc1~61^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b659f4b4ff52b14dcef4848e3f434b3582842960;p=pandora-kernel.git sbp-target: fix return value check in sbp_register_configfs() In case of error, the function target_fabric_configfs_init() returns ERR_PTR() not NULL pointer. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed