linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: use a CONSOLE_LOGLEVEL_DEBUG macro
@ 2019-01-07  9:57 Sergey Senozhatsky
  2019-01-24  3:40 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Senozhatsky @ 2019-01-07  9:57 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman
  Cc: Sergey Senozhatsky, linuxppc-dev, linux-kernel

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

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@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 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: powerpc: use a CONSOLE_LOGLEVEL_DEBUG macro
  2019-01-07  9:57 [PATCH] powerpc: use a CONSOLE_LOGLEVEL_DEBUG macro Sergey Senozhatsky
@ 2019-01-24  3:40 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2019-01-24  3:40 UTC (permalink / raw)
  To: Sergey Senozhatsky, Benjamin Herrenschmidt, Paul Mackerras
  Cc: Sergey Senozhatsky, linuxppc-dev, linux-kernel

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 <sergey.senozhatsky@gmail.com>

Applied to powerpc next, thanks.

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

cheers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-24  3:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-07  9:57 [PATCH] powerpc: use a CONSOLE_LOGLEVEL_DEBUG macro Sergey Senozhatsky
2019-01-24  3:40 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).