Re: x86: ucode-amd: Convert printk(KERN_*...) to pr_*(...)

From: Joe Perches
Date: Tue Dec 08 2009 - 18:07:01 EST


On Tue, 2009-12-08 at 22:59 +0000, Linux Kernel Mailing List wrote:
> Commit: 1a74357066369be91e6f4f431621a00b052df964
> diff --git a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c
> index 9f13324..26e33bd 100644
> --- a/arch/x86/kernel/microcode_amd.c
> +++ b/arch/x86/kernel/microcode_amd.c
[]
> @@ -113,7 +113,7 @@ static int get_matching_microcode(int cpu, void *mc, int rev)
>
> /* ucode might be chipset specific -- currently we don't support this */
> if (mc_header->nb_dev_id || mc_header->sb_dev_id) {
> - printk(KERN_ERR "microcode: CPU%d: loading of chipset "
> + pr_err(KERN_ERR "microcode: CPU%d: loading of chipset "
> "specific code not yet supported\n", cpu);
> return 0;
> }

Duplicates KERN_ERR

I think this one was better:
http://patchwork.kernel.org/patch/51654/


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