Re: [PATCH] printk: Use symbolic defines for console loglevels instead of numbers
From: Michael Ellerman
Date: Mon Mar 16 2015 - 06:44:27 EST
On Mon, 2015-03-16 at 15:01 +0600, Alexander Kuleshov wrote:
> Signed-off-by: Alexander Kuleshov <kuleshovmail@xxxxxxxxx>
> ---
> 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
Acked-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/