android_kernel_xiaomi_sm8350/drivers/edac
Doug Thompson b2a4ac0c28 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>
2007-07-19 10:04:57 -07:00
..
amd76x_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
e7xxx_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
e752x_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
edac_core.h drivers/edac: fix edac_device sysfs corner case bug 2007-07-19 10:04:57 -07:00
edac_device_sysfs.c drivers/edac: fix edac_device sysfs corner case bug 2007-07-19 10:04:57 -07:00
edac_device.c drivers/edac: fix edac_device sysfs corner case bug 2007-07-19 10:04:57 -07:00
edac_mc_sysfs.c drivers/edac: fix edac_mc sysfs completion code 2007-07-19 10:04:57 -07:00
edac_mc.c drivers/edac: fix workq reset deadlock 2007-07-19 10:04:57 -07:00
edac_module.c drivers/edac: code tidying on export-gpl 2007-07-19 10:04:57 -07:00
edac_module.h drivers/edac: fix edac_device sysfs completion code 2007-07-19 10:04:57 -07:00
edac_pci_sysfs.c
edac_pci.c drivers/edac: mod edac_opt_state_to_string function 2007-07-19 10:04:56 -07:00
edac_stub.c drivers/edac: code tidying on export-gpl 2007-07-19 10:04:57 -07:00
i3000_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
i5000_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
i82443bxgx_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
i82860_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
i82875p_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
i82975x_edac.c drivers/edac: new i82975x driver 2007-07-19 10:04:57 -07:00
Kconfig drivers/edac: new i82975x driver 2007-07-19 10:04:57 -07:00
Makefile drivers/edac: new i82975x driver 2007-07-19 10:04:57 -07:00
pasemi_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00
r82600_edac.c drivers/edac: fix edac_mc init apis 2007-07-19 10:04:57 -07:00