diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-12-29 02:24:52 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-01-29 19:44:34 -0500 |
commit | e951aca1beaf8493536cedfce4152531f7c4b59b (patch) | |
tree | 8f1c8584c1135137d526829d6e7fc9017b202244 | |
parent | 19173f81c1ce30487fcdd7b00b6bc4cb59c953e9 (diff) |
[SCSI] qla4xxx: Pass correct function param to qla4_8xxx_rd_direct
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>
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 3a968168ca5a..60526bb469d3 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -5271,7 +5271,7 @@ static int qla4xxx_probe_adapter(struct pci_dev *pdev, | |||
5271 | if (is_qla80XX(ha)) { | 5271 | if (is_qla80XX(ha)) { |
5272 | ha->isp_ops->idc_lock(ha); | 5272 | ha->isp_ops->idc_lock(ha); |
5273 | dev_state = qla4_8xxx_rd_direct(ha, | 5273 | dev_state = qla4_8xxx_rd_direct(ha, |
5274 | QLA82XX_CRB_DEV_STATE); | 5274 | QLA8XXX_CRB_DEV_STATE); |
5275 | ha->isp_ops->idc_unlock(ha); | 5275 | ha->isp_ops->idc_unlock(ha); |
5276 | if (dev_state == QLA8XXX_DEV_FAILED) { | 5276 | if (dev_state == QLA8XXX_DEV_FAILED) { |
5277 | ql4_printk(KERN_WARNING, ha, "%s: don't retry " | 5277 | ql4_printk(KERN_WARNING, ha, "%s: don't retry " |