[PATCH] powerpc: use a CONSOLE_LOGLEVEL_DEBUG macro

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2815d

2 messages, 2 authors, 2019-01-24 · open the first message on its own page

[PATCH] powerpc: use a CONSOLE_LOGLEVEL_DEBUG macro

From: Sergey Senozhatsky <hidden>
Date: 2019-01-07 09:57:30

Use a CONSOLE_LOGLEVEL_DEBUG macro for console_loglevel rather
than a naked number.

Signed-off-by: Sergey Senozhatsky <redacted>
---
 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 7cc38b5b58bc..8db4891acdaf 100644
--- a/arch/powerpc/kernel/udbg.c
+++ b/arch/powerpc/kernel/udbg.c
@@ -74,7 +74,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.20.1

Re: powerpc: use a CONSOLE_LOGLEVEL_DEBUG macro

From: Michael Ellerman <hidden>
Date: 2019-01-24 03:40:22

On Mon, 2019-01-07 at 09:57:20 UTC, Sergey Senozhatsky wrote:
Use a CONSOLE_LOGLEVEL_DEBUG macro for console_loglevel rather
than a naked number.

Signed-off-by: Sergey Senozhatsky <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/fae1383b38a105a0454acab19b094c51

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help