All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] powerpc: use symbolic defines for console loglevels instead of numbers
@ 2015-03-17 10:42 Alexander Kuleshov
  0 siblings, 0 replies; only message in thread
From: Alexander Kuleshov @ 2015-03-17 10:42 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman
  Cc: linux-kernel, Alexander Kuleshov

<linux/printk.h> provides macros for console log level, let's use it
instead of numbers.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 arch/powerpc/kernel/udbg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kernel/udbg.c b/arch/powerpc/kernel/udbg.c
index b7aa072..5525a85 100644
--- a/arch/powerpc/kernel/udbg.c
+++ b/arch/powerpc/kernel/udbg.c
@@ -76,7 +76,7 @@ void __init udbg_early_init(void)
 #endif
 
 #ifdef CONFIG_PPC_EARLY_DEBUG
-	console_loglevel = 10;
+	console_loglevel = CONSOLE_LOGLEVEL_DEBUG;
 
 	register_early_udbg_console();
 #endif
-- 
2.3.3.472.g20ceeac.dirty


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-17 10:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-17 10:42 [PATCH v2] powerpc: use symbolic defines for console loglevels instead of numbers Alexander Kuleshov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.