projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fad809
)
i7core_edac: Initialize memory name with cpu, channel, bank
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 16 Sep 2011 16:37:29 +0000
(13:37 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 1 Nov 2011 12:01:52 +0000
(10:01 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/i7core_edac.c
b/drivers/edac/i7core_edac.c
index
51d251c
..
70ad892
100644
(file)
--- a/
drivers/edac/i7core_edac.c
+++ b/
drivers/edac/i7core_edac.c
@@
-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++;
}