From: Jitendra Bhivare Date: Wed, 20 Jan 2016 08:40:55 +0000 (+0530) Subject: be2iscsi: Fix return value for MCC completion X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=23d7ccf134a49685aaae658e6623ef396ac76196;p=openwrt%2Fstaging%2Fblogic.git be2iscsi: Fix return value for MCC completion Change return value of completed MCC EBUSY to EINVAL. Signed-off-by: Jitendra Bhivare Reviewed-by: Hannes Reinecke Signed-off-by: Martin K. Petersen --- 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; }