mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00:00
i7300_edac: Make the debug messages coherent with the others
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
f427742248
commit
3b330f6758
@ -580,9 +580,9 @@ static int decode_mtr(struct i7300_pvt *pvt,
|
|||||||
|
|
||||||
if (IS_SINGLE_MODE(pvt->mc_settings_a)) {
|
if (IS_SINGLE_MODE(pvt->mc_settings_a)) {
|
||||||
p_csrow->edac_mode = EDAC_SECDED;
|
p_csrow->edac_mode = EDAC_SECDED;
|
||||||
debugf0("ECC code is 8-byte-over-32-byte SECDED+ code\n");
|
debugf2("\t\tECC code is 8-byte-over-32-byte SECDED+ code\n");
|
||||||
} else {
|
} else {
|
||||||
debugf0("ECC code is on Lockstep mode\n");
|
debugf2("\t\tECC code is on Lockstep mode\n");
|
||||||
if (MTR_DRAM_WIDTH(mtr))
|
if (MTR_DRAM_WIDTH(mtr))
|
||||||
p_csrow->edac_mode = EDAC_S8ECD8ED;
|
p_csrow->edac_mode = EDAC_S8ECD8ED;
|
||||||
else
|
else
|
||||||
@ -591,7 +591,7 @@ static int decode_mtr(struct i7300_pvt *pvt,
|
|||||||
|
|
||||||
/* ask what device type on this row */
|
/* ask what device type on this row */
|
||||||
if (MTR_DRAM_WIDTH(mtr)) {
|
if (MTR_DRAM_WIDTH(mtr)) {
|
||||||
debugf0("Scrub algorithm for x8 is on %s mode\n",
|
debugf2("\t\tScrub algorithm for x8 is on %s mode\n",
|
||||||
IS_SCRBALGO_ENHANCED(pvt->mc_settings) ?
|
IS_SCRBALGO_ENHANCED(pvt->mc_settings) ?
|
||||||
"enhanced" : "normal");
|
"enhanced" : "normal");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user