Skip to content
Snippets Groups Projects
Commit 767ba4a5 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

i7core_edac: Initialize memory name with cpu, channel, bank


Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4fad8098
No related branches found
No related tags found
No related merge requests found
......@@ -746,6 +746,10 @@ static int get_dimm_config(const struct mem_ctl_info *mci)
csr->edac_mode = mode;
csr->mtype = mtype;
snprintf(csr->channels[0].label,
sizeof(csr->channels[0].label),
"CPU#%uChannel#%u_DIMM#%u",
pvt->i7core_dev->socket, i, j);
csrow++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment