diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-03-06 12:16:04 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-03-27 07:26:35 (GMT) |
commit | 1a590cabc272d62ffca1427d3010aea2098f414f (patch) | |
tree | 8fa9a2e0fdb2493ee10661ea9b711a3fb7312782 /drivers/scsi | |
parent | e16d166e4f931cd735e5bac1a1affe7db09a8ea7 (diff) | |
download | linux-fsl-qoriq-1a590cabc272d62ffca1427d3010aea2098f414f.tar.xz |
[SCSI] iscsi_transport: Added error status code for ping comp event
Defined error codes for ping completion status.
This patch take care of Mike Christie's commets
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_isr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_isr.c b/drivers/scsi/qla4xxx/ql4_isr.c index 7c9f28b..fc542a9 100644 --- a/drivers/scsi/qla4xxx/ql4_isr.c +++ b/drivers/scsi/qla4xxx/ql4_isr.c @@ -431,9 +431,9 @@ static void qla4xxx_mbox_status_entry(struct scsi_qla_host *ha, mbox_sts_entry->out_mbox[6])); if (mbox_sts_entry->out_mbox[0] == MBOX_STS_COMMAND_COMPLETE) - status = QLA_SUCCESS; + status = ISCSI_PING_SUCCESS; else - status = QLA_ERROR; + status = mbox_sts_entry->out_mbox[6]; data_size = sizeof(mbox_sts_entry->out_mbox); |