From: Dan Carpenter Date: Wed, 15 Jun 2011 16:41:33 +0000 (-0700) Subject: target: Fix ERR_PTR dereferencing bugs X-Git-Tag: v3.0-rc5~38^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=552523dcbf0f33d44d816da310be8227a2c1502a;p=pandora-kernel.git target: Fix ERR_PTR dereferencing bugs transport_init_session() and core_tmr_alloc_req() never return NULL, they only return ERR_PTRs on error. v2: Fix patch to return PTR_ERR(tl_nexus->se_sess) from Ankit Jain's feedback. Signed-off-by: Dan Carpenter Signed-off-by: Ankit Jain Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed