[SCSI] lpfc 8.3.10: Fix user interface issues
- Add Logging message for critial errors. - Remove unused variable from lpfc_nodev_tmo_show - Update supress_link_up parameter with #define values. Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:

committed by
James Bottomley

parent
9f1177a3f8
commit
e40a02c125
@@ -549,7 +549,7 @@ lpfc_config_port_post(struct lpfc_hba *phba)
|
||||
mempool_free(pmb, phba->mbox_mem_pool);
|
||||
return -EIO;
|
||||
}
|
||||
} else if (phba->cfg_suppress_link_up == 0) {
|
||||
} else if (phba->cfg_suppress_link_up == LPFC_INITIALIZE_LINK) {
|
||||
lpfc_init_link(phba, pmb, phba->cfg_topology,
|
||||
phba->cfg_link_speed);
|
||||
pmb->mbox_cmpl = lpfc_sli_def_mbox_cmpl;
|
||||
@@ -667,7 +667,7 @@ lpfc_hba_init_link(struct lpfc_hba *phba)
|
||||
mempool_free(pmb, phba->mbox_mem_pool);
|
||||
return -EIO;
|
||||
}
|
||||
phba->cfg_suppress_link_up = 0;
|
||||
phba->cfg_suppress_link_up = LPFC_INITIALIZE_LINK;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user