Re: [PATCH 1/1 RESEND] arch/m68k/apollo/config.c: convert printk to pr_foo()

From: Geert Uytterhoeven
Date: Mon May 12 2014 - 03:21:32 EST


On Sat, May 10, 2014 at 12:40 PM, Fabian Frederick <fabf@xxxxxxxxx> wrote:
> no level printk converted to pr_info
>
> This is untested
>
> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>

Thanks, will queue for v3.16...

> --- a/arch/m68k/apollo/config.c
> +++ b/arch/m68k/apollo/config.c
> @@ -65,8 +65,8 @@ int __init apollo_parse_bootinfo(const struct bi_record *record)
>
> static void __init dn_setup_model(void)
> {
> - printk("Apollo hardware found: ");
> - printk("[%s]\n", apollo_models[apollo_model - APOLLO_DN3000]);
> + pr_info("Apollo hardware found: ");
> + pr_cont("[%s]\n", apollo_models[apollo_model - APOLLO_DN3000]);

...with this merged into one line.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/