diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-03 19:17:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-10 10:44:58 -0400 |
commit | 3a3bb4a647db4cb2468641df8da2ee9491784a9a (patch) | |
tree | 7082b697c2acc74cf252b55537c95f97cb877563 /drivers/edac | |
parent | bc2d7245ff1c5466c877a0c32a7ec9563187a032 (diff) |
i7core_edac: Improve corrected_error_counts output for RDIMM
Just cosmetics. instead of showing something like:
socket 0, channel 2dimm0: 1
dimm1: 0
dimm2: 0
socket 1, channel 2dimm0: 0
dimm1: 0
dimm2: 0
Show:
socket 0, channel 2 RDIMM0: 1 RDIMM1: 0 RDIMM2: 0
socket 0, channel 2 RDIMM0: 0 RDIMM1: 0 RDIMM2: 0
This is more synthetic and easier to parse.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/i7core_edac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c index 9fe7ec762e68..76f4e6d973af 100644 --- a/drivers/edac/i7core_edac.c +++ b/drivers/edac/i7core_edac.c | |||
@@ -1070,9 +1070,9 @@ static ssize_t i7core_ce_regs_show(struct mem_ctl_info *mci, char *data) | |||
1070 | pvt->udimm_ce_count[i][2]); | 1070 | pvt->udimm_ce_count[i][2]); |
1071 | else | 1071 | else |
1072 | for (j = 0; j < NUM_CHANS; j++) { | 1072 | for (j = 0; j < NUM_CHANS; j++) { |
1073 | count = sprintf(data, "socket %d, channel %d" | 1073 | count = sprintf(data, "socket %d, channel %d " |
1074 | "dimm0: %lu\n" | 1074 | "RDIMM0: %lu " |
1075 | "dimm1: %lu\ndimm2: %lu\n", | 1075 | "RDIMM1: %lu RDIMM2: %lu\n", |
1076 | i, j, | 1076 | i, j, |
1077 | pvt->rdimm_ce_count[i][j][0], | 1077 | pvt->rdimm_ce_count[i][j][0], |
1078 | pvt->rdimm_ce_count[i][j][1], | 1078 | pvt->rdimm_ce_count[i][j][1], |