mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
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:
parent
fbe2d3616c
commit
1eef128254
3 changed files with 12 additions and 16 deletions
|
@ -561,7 +561,6 @@ struct csrow_info {
|
|||
|
||||
u32 ue_count; /* Uncorrectable Errors for this csrow */
|
||||
u32 ce_count; /* Correctable Errors for this csrow */
|
||||
u32 nr_pages; /* combined pages count of all channels */
|
||||
|
||||
struct mem_ctl_info *mci; /* the parent */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue