Re: [PATCH] WARN(): add a \n to the message printk

From: Arjan van de Ven
Date: Mon Jun 15 2009 - 10:13:12 EST


On Mon, 15 Jun 2009 10:09:51 +0100
Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:

> > + if (args) {
> > vprintk(args->fmt, args->args);
> > + printk("\n");
>
> What stops another printk occuring between those two ?
>

absolutely nothing... and in that case you get what you get in a
million other places in the kernel; a bit of a mix.


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/