Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information