Skip to content

Commit

Permalink
drivers/edac: fix printk level down to debug from emerg
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Doug Thompson authored and Linus Torvalds committed Sep 12, 2007
1 parent 65e213c commit 3c8bb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/edac/edac_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ extern int edac_debug_level;
#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__ )
Expand Down

0 comments on commit 3c8bb2c

Please sign in to comment.