Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c8bb2cf authored by Doug Thompson's avatar Doug Thompson Committed by Linus Torvalds
Browse files

drivers/edac: fix printk level down to debug from emerg



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: default avatarDoug Thompson <dougthompson@xmission.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 65e213cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -75,7 +75,7 @@ extern int edac_debug_level;
#define edac_debug_printk(level, fmt, arg...)                            \
#define edac_debug_printk(level, fmt, arg...)                            \
	do {                                                             \
	do {                                                             \
		if (level <= edac_debug_level)                           \
		if (level <= edac_debug_level)                           \
			edac_printk(KERN_EMERG, EDAC_DEBUG, fmt, ##arg); \
			edac_printk(KERN_DEBUG, EDAC_DEBUG, fmt, ##arg); \
	} while(0)
	} while(0)


#define debugf0( ... ) edac_debug_printk(0, __VA_ARGS__ )
#define debugf0( ... ) edac_debug_printk(0, __VA_ARGS__ )