]> err.no Git - linux-2.6/commit
[SCSI] zfcp: Fix fsf_status_read return code handling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 19 May 2008 10:17:39 +0000 (12:17 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 5 Jun 2008 14:27:13 +0000 (09:27 -0500)
commitb21417820f8f659a6b73cc937ab39bf77d350ce6
tree03395a47a57590d930d5d60585395c842c7dd9ec
parent9dfe1cc36be27040144238d30da05053db71beb1
[SCSI] zfcp: Fix fsf_status_read return code handling

If allocation of a status buffer failed the function incorrectly
returned 0 instead of -ENOMEM.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Peschke <mp3@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fsf.c