Re: [PATCH 2/5] x86: efi: convert printk to pr_*()

From: Olof Johansson
Date: Thu Jan 05 2012 - 12:17:04 EST


On Tue, Jan 3, 2012 at 9:26 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> On Tue, 2012-01-03 at 09:11 -0800, Olof Johansson wrote:
>> Alright, I guess I'll go through and convert them, even though
>> there's no net gain to speak of.
>
> Perhaps it'd be better to add
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> before any #include and remove PFX from the
> formats

I'm not sure it's much of a net gain, PFX was used only a couple of
times, the other printouts were just plain ones.

Anyway, I've switched to pr_fmt anyway, and reworded some of the
messages to not have redundant EFI's in them.

Thanks,

-Olof
--
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/