i've applied this too for testing.
but multi-line strings are a bit unclean i think: each message line
should have its separate printk.
will your patch leave the behavior of multiple calls to printk alone?
I.e. if i do:
printk(KERN_ALERT "Danger Will Robinson!\n");
printk("Alien Approaching!\n");
then we'll still get a KERN_ALERT plus a default printk, right? In that
case my earlier observation about this patch is moot and i guess it's
fine to do this.
Ingo
--