2007-08-28 17:21:22

by dougthompson

[permalink] [raw]
Subject: [PATCH 1/1] drivers edac fix printk level down to debug from emerg

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__ )