summaryrefslogtreecommitdiff
path: root/drivers/edac/edac_mc.c
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@redhat.com>2012-10-16 17:02:27 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-11-28 12:56:00 +0400
commit42709efb3a47524c6252e1bdc85e205f7bc356fb (patch)
tree8cecdce5b9cd54ea7cd41fd5f52f867b3ddb1c32 /drivers/edac/edac_mc.c
parent7e06b7a3333f5c7a0cec12aff20d39c5c87c0795 (diff)
downloadlinux-42709efb3a47524c6252e1bdc85e205f7bc356fb.tar.xz
i7core_edac: fix panic when accessing sysfs files
The i7core_edac addrmatch_dev and chancounts_dev have sysfs files associated with them. The sysfs files, however, are coded so that the parent device is is the mci device. This is incorrect and the mci struct should be obtained through the addrmatch_dev and chancounts_dev device's private data field which is populated in i7core_create_sysfs_devices(). Signed-off-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/edac_mc.c')
0 files changed, 0 insertions, 0 deletions