提交 767ba4a5 编写于 作者: M Mauro Carvalho Chehab

i7core_edac: Initialize memory name with cpu, channel, bank

Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 4fad8098
......@@ -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++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册