From: Dan Carpenter Date: Mon, 13 Jun 2011 20:10:49 +0000 (+0300) Subject: target: Drop bogus ERR_PTR usage in target_fabric_configfs_init X-Git-Tag: v3.0-rc5~38^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eff5be0b1993f4291f2b8c6d035b408010f96c5;p=pandora-kernel.git target: Drop bogus ERR_PTR usage in target_fabric_configfs_init In the original code, there were several places inside the target_fabric_configfs_init() function that returned NULL on error and one place the returned an ERR_PTR. There are two places that call this function and they only check for NULL returns; they don't check for ERR_PTRs. So I've changed the ERR_PTR so now the function only returns NULL on error. Signed-off-by: Dan Carpenter Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed