Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 27922b4260f65d317aabda37e42bbbff > files > 770

kernel-2.6.18-238.el5.src.rpm

From: Mauro Carvalho Chehab <mchehab@redhat.com>
Date: Tue, 28 Sep 2010 14:34:09 -0400
Subject: [edac] i7300_edac: make debug messages consistent
Message-id: <20100928113409.7150d8e4@pedra>
Patchwork-id: 28473
O-Subject: [PATCH RHEL5 14/27] i7300_edac: Make the debug messages coherent
	with the others
Bugzilla: 487428
RH-Acked-by: Prarit Bhargava <prarit@redhat.com>

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Jarod Wilson <jarod@redhat.com>

diff --git a/drivers/edac/i7300_edac.c b/drivers/edac/i7300_edac.c
index 3ae8fae..218d463 100644
--- a/drivers/edac/i7300_edac.c
+++ b/drivers/edac/i7300_edac.c
@@ -580,9 +580,9 @@ static int decode_mtr(struct i7300_pvt *pvt,
 
 	if (IS_SINGLE_MODE(pvt->mc_settings_a)) {
 		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 {
-		debugf0("ECC code is on Lockstep mode\n");
+		debugf2("\t\tECC code is on Lockstep mode\n");
 		if (MTR_DRAM_WIDTH(mtr))
 			p_csrow->edac_mode = EDAC_S8ECD8ED;
 		else
@@ -591,7 +591,7 @@ static int decode_mtr(struct i7300_pvt *pvt,
 
 	/* ask what device type on this row */
 	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) ?
 					    "enhanced" : "normal");