Re: [patch] printk: add KERN_CONT annotation

From: Ingo Molnar
Date: Thu Oct 04 2007 - 16:52:33 EST



* Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Tue, 2 Oct 2007 07:18:52 +0200
> Ingo Molnar <mingo@xxxxxxx> wrote:
>
> >
> > printk: add the KERN_CONT annotation (which is empty string but via
> > which checkpatch.pl can notice that the lacking KERN_ level is fine).
> > This useful for multiple calls of hand-crafted printk output done by
> > early debug code or similar.
> >
>
> I like it. Sort of self-documenting notation.

cool. Please push into v2.6.24.

> > #define console_loglevel (console_printk[0])
> > Index: linux/kernel/sched.c
>
> I get rejects from the sched.c hunk and that's your stuff anwyay, so I
> dropped that bit.

yeah, i'll fix sched.c up once it goes upstream.

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