]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf2f6f183c28cd55d7fd3770c70245d0b7e6c1f95
tree25b085c0c759211b2c416c36b4603d131626b797
parent7148c8e822b1d98cd6ddb470414551135e4d7d8d
[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