[PATCH] ARM: Clean up setup printks a bit

Emilio López emilio at elopez.com.ar
Thu Dec 5 04:14:47 EST 2013


Hi Olof,

El 04/12/13 20:30, Olof Johansson escribió:
> Clean up the setup ARM printks a bit. Add printk level to a few
> that were missing (CPU: <...> ones, in particular), and switch from
> printk(KERN_* ..) to pr_*().
>
> Finally, un-wrap some long lines since it makes it harder to grep the
> sources from where an error came from and tweak some cases of indentation.
>
> Signed-off-by: Olof Johansson <olof at lixom.net>
> ---
>   arch/arm/kernel/setup.c |   39 +++++++++++++++++++--------------------
>   1 file changed, 19 insertions(+), 20 deletions(-)
>
> diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
> index 6a1b8a8..7c472f4 100644
> --- a/arch/arm/kernel/setup.c
> +++ b/arch/arm/kernel/setup.c

...

>
>   	if (meminfo.nr_banks >= NR_BANKS) {
> -		printk(KERN_CRIT "NR_BANKS too low, "
> -			"ignoring memory at 0x%08llx\n", (long long)start);
> +		pr_crit("NR_BANKS too low, "ignoring memory at 0x%08llx\n",

There's a stray " there

> +			(long long)start);
>   		return -EINVAL;
>   	}
>

Cheers,

Emilio



More information about the linux-arm-kernel mailing list