Browse Source

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>
Jitendra Bhivare 9 years ago
parent
commit
23d7ccf134
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/scsi/be2iscsi/be_cmds.c

+ 1 - 1
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;
 }