mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 14:50:19 +00:00
[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>
This commit is contained in:
parent
19173f81c1
commit
e951aca1be
@ -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 "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user