[SCSI] qla2xxx: fix to honor ignored parameters in sysfs attributes
authorSeokmann Ju <seokmann.ju@qlogic.com>
Thu, 26 Jul 2007 20:43:34 +0000 (13:43 -0700)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 27 Jul 2007 13:14:22 +0000 (09:14 -0400)
commit281afe1947d855661754850de29d7530b2ff18dc
tree25b085c0c759211b2c416c36b4603d131626b797
parentc835e3727b87115f98c612a5ecb8882826d2537e
[SCSI] qla2xxx: fix to honor ignored parameters in sysfs attributes

This is a patch to fix 'segmentation fault' issue which was initiated
by Richard Lary <rlary@us.ibm.com>.  Thanks again Richard.

- on following sysfs attritute function, changes have made so that both
  count and offset input parameters are honored by the functions.
    = qla2x00_sysfs_read_nvram()
    = qla2x00_sysfs_read_vpd()
- made changes so that NVRAM data to be cached to minimize H/W accesses
  during agent querying of the driver's.

Signed-off-by: Seokmann Ju <seokmann.ju@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c