diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-03-06 07:16:04 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-03-27 03:26:35 -0400 |
commit | 1a590cabc272d62ffca1427d3010aea2098f414f (patch) | |
tree | 8fa9a2e0fdb2493ee10661ea9b711a3fb7312782 /drivers | |
parent | e16d166e4f931cd735e5bac1a1affe7db09a8ea7 (diff) |
[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')
-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 7c9f28b7da72..fc542a9bb106 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, | |||
431 | mbox_sts_entry->out_mbox[6])); | 431 | mbox_sts_entry->out_mbox[6])); |
432 | 432 | ||
433 | if (mbox_sts_entry->out_mbox[0] == MBOX_STS_COMMAND_COMPLETE) | 433 | if (mbox_sts_entry->out_mbox[0] == MBOX_STS_COMMAND_COMPLETE) |
434 | status = QLA_SUCCESS; | 434 | status = ISCSI_PING_SUCCESS; |
435 | else | 435 | else |
436 | status = QLA_ERROR; | 436 | status = mbox_sts_entry->out_mbox[6]; |
437 | 437 | ||
438 | data_size = sizeof(mbox_sts_entry->out_mbox); | 438 | data_size = sizeof(mbox_sts_entry->out_mbox); |
439 | 439 | ||