summaryrefslogtreecommitdiff
path: root/kernel/res_counter.c
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@redhat.com>2012-10-16 13:02:27 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-11-28 08:56:00 (GMT)
commit42709efb3a47524c6252e1bdc85e205f7bc356fb (patch)
tree8cecdce5b9cd54ea7cd41fd5f52f867b3ddb1c32 /kernel/res_counter.c
parent7e06b7a3333f5c7a0cec12aff20d39c5c87c0795 (diff)
downloadlinux-fsl-qoriq-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 'kernel/res_counter.c')
0 files changed, 0 insertions, 0 deletions