Commit 56ccb988 authored by Nilesh Javali's avatar Nilesh Javali Committed by James Bottomley

[SCSI] qla4xxx: Improve loopback failure messages

Signed-off-by: default avatarVikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 80645dc0
...@@ -517,7 +517,7 @@ static int qla4_83xx_wait_for_loopback_config_comp(struct scsi_qla_host *ha, ...@@ -517,7 +517,7 @@ static int qla4_83xx_wait_for_loopback_config_comp(struct scsi_qla_host *ha,
(ha->idc_extend_tmo * HZ))) { (ha->idc_extend_tmo * HZ))) {
ha->notify_idc_comp = 0; ha->notify_idc_comp = 0;
ha->notify_link_up_comp = 0; ha->notify_link_up_comp = 0;
ql4_printk(KERN_WARNING, ha, "%s: IDC Complete notification not received", ql4_printk(KERN_WARNING, ha, "%s: Aborting: IDC Complete notification not received",
__func__); __func__);
status = QLA_ERROR; status = QLA_ERROR;
goto exit_wait; goto exit_wait;
...@@ -538,7 +538,7 @@ static int qla4_83xx_wait_for_loopback_config_comp(struct scsi_qla_host *ha, ...@@ -538,7 +538,7 @@ static int qla4_83xx_wait_for_loopback_config_comp(struct scsi_qla_host *ha,
if (!wait_for_completion_timeout(&ha->link_up_comp, if (!wait_for_completion_timeout(&ha->link_up_comp,
(IDC_COMP_TOV * HZ))) { (IDC_COMP_TOV * HZ))) {
ha->notify_link_up_comp = 0; ha->notify_link_up_comp = 0;
ql4_printk(KERN_WARNING, ha, "%s: LINK UP notification not received", ql4_printk(KERN_WARNING, ha, "%s: Aborting: LINK UP notification not received",
__func__); __func__);
status = QLA_ERROR; status = QLA_ERROR;
goto exit_wait; goto exit_wait;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment