Skip to content

Commit

Permalink
i7core_edac: Initialize memory name with cpu, channel, bank
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
Mauro Carvalho Chehab committed Nov 1, 2011
1 parent 4fad809 commit 767ba4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand Down

0 comments on commit 767ba4a

Please sign in to comment.