[PATCH 1/1] drivers edac fix printk level down to debug from emerg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From:	Doug Thompson <[email protected]>

Patched applied to 2.6.23-rc3

When EDAC is configured for EDAC DEBUGGING, the debug printk output level
was set TOO high (EMERG). This patch brings it down to a DEBUG level

Signed-off-by:	Doug Thompson <[email protected]>
cc:   Alan Cox <[email protected]>
---
 edac_core.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.23-rc3/drivers/edac/edac_core.h
===================================================================
--- linux-2.6.23-rc3.orig/drivers/edac/edac_core.h	2007-08-12 22:25:24.000000000 -0600
+++ linux-2.6.23-rc3/drivers/edac/edac_core.h	2007-08-27 22:22:51.000000000 -0600
@@ -75,7 +75,7 @@
 #define edac_debug_printk(level, fmt, arg...)                            \
 	do {                                                             \
 		if (level <= edac_debug_level)                           \
-			edac_printk(KERN_EMERG, EDAC_DEBUG, fmt, ##arg); \
+			edac_printk(KERN_DEBUG, EDAC_DEBUG, fmt, ##arg); \
 	} while(0)
 
 #define debugf0( ... ) edac_debug_printk(0, __VA_ARGS__ )
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux