summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJitendra Bhivare <jitendra.bhivare@avagotech.com>2016-01-20 14:10:55 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2016-02-23 21:27:02 -0500
commit23d7ccf134a49685aaae658e6623ef396ac76196 (patch)
tree2782b3c88dd345a7bf193205b18730bee414c19c
parent4570f1618ec045ade994237d3f4f5644181845cc (diff)
downloadlinux-stable-23d7ccf134a49685aaae658e6623ef396ac76196.tar.gz
linux-stable-23d7ccf134a49685aaae658e6623ef396ac76196.tar.bz2
linux-stable-23d7ccf134a49685aaae658e6623ef396ac76196.zip
be2iscsi: Fix return value for MCC completion
Change return value of completed MCC EBUSY to EINVAL. Signed-off-by: Jitendra Bhivare <jitendra.bhivare@avagotech.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/be2iscsi/be_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_cmds.c b/drivers/scsi/be2iscsi/be_cmds.c
index 533060e12c7f..dbe62c0e6916 100644
--- a/drivers/scsi/be2iscsi/be_cmds.c
+++ b/drivers/scsi/be2iscsi/be_cmds.c
@@ -323,7 +323,7 @@ static int be_mcc_compl_process(struct be_ctrl_info *ctrl,
if (resp_hdr->response_length)
return 0;
}
- return -EBUSY;
+ return -EINVAL;
}
return 0;
}