From: Swen Schillig Date: Wed, 26 Nov 2008 17:07:37 +0000 (+0100) Subject: [SCSI] zfcp: returning an ERR_PTR where a NULL value is expected X-Git-Tag: v2.6.28-rc8~76^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=633528c304f20b5c2e3e04d48f620548ce08b12e;p=pandora-kernel.git [SCSI] zfcp: returning an ERR_PTR where a NULL value is expected Aborting a SCSI cmnd might requrie to send a abort_fsf_cmnd. If the creation of this fsf_req fails an ERR_PTR is returned where a NULL value would be expected as an error indicator. This ERR_PTR is dereferenced as valid fsf_req in succeeding processing leading to an error. Signed-off-by: Swen Schillig Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed