Searched hist:b2a4ac0c2860b27670bce99e8c9c281bf431c272 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/edac/ |
H A D | edac_device_sysfs.c | diff b2a4ac0c2860b27670bce99e8c9c281bf431c272 Thu Jul 19 10:50:33 CEST 2007 Doug Thompson <dougthompson@xmission.com> drivers/edac: fix edac_device sysfs corner case bug
Some simple fixes to properly reference counter values from the block attribute level of edac_device objects. Properly sequencing the array pointer was added, resulting in correct identification of block level attributes from their base class functions.
Added more verbose debug statement for event tracking.
Also during some corner testing, found a bug in the store/show sequence of operations for the block attribute/controls management.
An old intermediate structure for 'blocks' was still in the processing pipeline. This patch removes that old structure and correctly utilizes the new struct edac_dev_sysfs_block_attribute for passing control from the sysfs to the low level store/show function of the edac driver.
Now the proper kobj pointer to passed downward to the store/show functions.
Signed-off-by: Doug Thompson <dougthompson@xmission.com> Cc: Greg KH <greg@kroah.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
H A D | edac_device.c | diff b2a4ac0c2860b27670bce99e8c9c281bf431c272 Thu Jul 19 10:50:33 CEST 2007 Doug Thompson <dougthompson@xmission.com> drivers/edac: fix edac_device sysfs corner case bug
Some simple fixes to properly reference counter values from the block attribute level of edac_device objects. Properly sequencing the array pointer was added, resulting in correct identification of block level attributes from their base class functions.
Added more verbose debug statement for event tracking.
Also during some corner testing, found a bug in the store/show sequence of operations for the block attribute/controls management.
An old intermediate structure for 'blocks' was still in the processing pipeline. This patch removes that old structure and correctly utilizes the new struct edac_dev_sysfs_block_attribute for passing control from the sysfs to the low level store/show function of the edac driver.
Now the proper kobj pointer to passed downward to the store/show functions.
Signed-off-by: Doug Thompson <dougthompson@xmission.com> Cc: Greg KH <greg@kroah.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|