aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/s390/scsi/zfcp_fsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c
index bbb7ef0b052d..c4eb62b32a32 100644
--- a/drivers/s390/scsi/zfcp_fsf.c
+++ b/drivers/s390/scsi/zfcp_fsf.c
@@ -722,7 +722,7 @@ static struct zfcp_fsf_req *zfcp_fsf_req_create(struct zfcp_adapter *adapter,
722 req = zfcp_fsf_alloc_qtcb(pool); 722 req = zfcp_fsf_alloc_qtcb(pool);
723 723
724 if (unlikely(!req)) 724 if (unlikely(!req))
725 return ERR_PTR(-EIO); 725 return ERR_PTR(-ENOMEM);
726 726
727 if (adapter->req_no == 0) 727 if (adapter->req_no == 0)
728 adapter->req_no++; 728 adapter->req_no++;