提交 e951aca1 编写于 作者: V Vikas Chaudhary 提交者: James Bottomley

[SCSI] qla4xxx: Pass correct function param to qla4_8xxx_rd_direct

Signed-off-by: NVikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: NMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
上级 19173f81
...@@ -5271,7 +5271,7 @@ static int qla4xxx_probe_adapter(struct pci_dev *pdev, ...@@ -5271,7 +5271,7 @@ static int qla4xxx_probe_adapter(struct pci_dev *pdev,
if (is_qla80XX(ha)) { if (is_qla80XX(ha)) {
ha->isp_ops->idc_lock(ha); ha->isp_ops->idc_lock(ha);
dev_state = qla4_8xxx_rd_direct(ha, dev_state = qla4_8xxx_rd_direct(ha,
QLA82XX_CRB_DEV_STATE); QLA8XXX_CRB_DEV_STATE);
ha->isp_ops->idc_unlock(ha); ha->isp_ops->idc_unlock(ha);
if (dev_state == QLA8XXX_DEV_FAILED) { if (dev_state == QLA8XXX_DEV_FAILED) {
ql4_printk(KERN_WARNING, ha, "%s: don't retry " ql4_printk(KERN_WARNING, ha, "%s: don't retry "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册