amd64_edac: Correct DIMM sizes

We were filling the csrow size with a wrong value. 16a528ee39 ("EDAC:
Fix csrow size reported in sysfs") tried to address the issue. It fixed
the report with the old API but not with the new one. Correct it for the
new API too.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
[ make it a per-csrow accounting regardless of ->channel_count ]
Signed-off-by: Borislav Petkov <bp@suse.de>
This commit is contained in:
Mauro Carvalho Chehab 2013-03-11 09:07:46 -03:00 • committed by Borislav Petkov
commit 1eef128254
3 changed files with 12 additions and 16 deletions