diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2013-11-07 02:54:56 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-17 06:26:34 -0800 |
commit | b7894c3c5126ac7c5553fa946e9b6ffa5d96efcd (patch) | |
tree | 69da4522d2eaf32bc5380de4326b362c00ba0199 /drivers/scsi/qla2xxx/qla_os.c | |
parent | 6d0e65b19169f9f96b419e9e6bbeab360cb0c518 (diff) |
[SCSI] qla2xxx: Fix warning reported by smatch.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 20d58be7b8d5..89a53002b585 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -2881,7 +2881,7 @@ probe_hw_failed: } if (IS_QLA8044(ha)) { qla8044_idc_lock(ha); - qla8044_clear_drv_active(base_vha); + qla8044_clear_drv_active(ha); qla8044_idc_unlock(ha); } iospace_config_failed: @@ -3045,7 +3045,7 @@ qla2x00_clear_drv_active(scsi_qla_host_t *vha) if (IS_QLA8044(ha)) { qla8044_idc_lock(ha); - qla8044_clear_drv_active(vha); + qla8044_clear_drv_active(ha); qla8044_idc_unlock(ha); } else if (IS_QLA82XX(ha)) { qla82xx_idc_lock(ha); |