diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-04-07 01:33:43 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-05-20 18:21:08 -0400 |
commit | 8f979751367b9975fe606bce6a64b9d871dcfcfa (patch) | |
tree | d6a2b5c2d79d677397558c09228fdc357c26938e /drivers/scsi/qla2xxx/qla_attr.c | |
parent | 67c2e93ae7465a3e279503ceddd7bd153d74bcf8 (diff) |
[SCSI] qla2xxx: Correct typo in read_nvram() callback.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index f3536e56dce4..fc30f8e2f467 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -97,7 +97,7 @@ qla2x00_sysfs_read_nvram(struct kobject *kobj, | |||
97 | return 0; | 97 | return 0; |
98 | 98 | ||
99 | if (IS_NOCACHE_VPD_TYPE(ha)) | 99 | if (IS_NOCACHE_VPD_TYPE(ha)) |
100 | ha->isp_ops->read_optrom(vha, ha->vpd, ha->flt_region_nvram << 2, | 100 | ha->isp_ops->read_optrom(vha, ha->nvram, ha->flt_region_nvram << 2, |
101 | ha->nvram_size); | 101 | ha->nvram_size); |
102 | return memory_read_from_buffer(buf, count, &off, ha->nvram, | 102 | return memory_read_from_buffer(buf, count, &off, ha->nvram, |
103 | ha->nvram_size); | 103 | ha->nvram_size); |