]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] zfcp: returning an ERR_PTR where a NULL value is expected
authorSwen Schillig <swen@vnet.ibm.com>
Wed, 26 Nov 2008 17:07:37 +0000 (18:07 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 1 Dec 2008 16:17:14 +0000 (10:17 -0600)
commit633528c304f20b5c2e3e04d48f620548ce08b12e
tree07bf82b8ad982066cdd9525db7c4859de2859bac
parent1c1cba17a9078c83a80a099bc207b208d664a13a
[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 <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fsf.c