Commit 8f979751 authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley

[SCSI] qla2xxx: Correct typo in read_nvram() callback.

Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 67c2e93a
...@@ -97,7 +97,7 @@ qla2x00_sysfs_read_nvram(struct kobject *kobj, ...@@ -97,7 +97,7 @@ qla2x00_sysfs_read_nvram(struct kobject *kobj,
return 0; return 0;
if (IS_NOCACHE_VPD_TYPE(ha)) if (IS_NOCACHE_VPD_TYPE(ha))
ha->isp_ops->read_optrom(vha, ha->vpd, ha->flt_region_nvram << 2, ha->isp_ops->read_optrom(vha, ha->nvram, ha->flt_region_nvram << 2,
ha->nvram_size); ha->nvram_size);
return memory_read_from_buffer(buf, count, &off, ha->nvram, return memory_read_from_buffer(buf, count, &off, ha->nvram,
ha->nvram_size); ha->nvram_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment