Re: printk: what is going on with additional newlines?
From: Sergey Senozhatsky
Date: Mon Sep 18 2017 - 00:42:54 EST
On (09/17/17 20:07), Joe Perches wrote:
> On Mon, 2017-09-18 at 11:55 +0900, Sergey Senozhatsky wrote:
> > Try git grep KERN_SOH.
> > what for?
> Did you read your own email?
> > printk(KERN_SOH_ASCII %d " foo bar / %s %s\n", "foo", "bar");
> _nothing_ looks like that.
OK... got it. I obviously meant the way we treat the
prefix - KERN_SOH_ASCII and int loglevel that we store
in msg->level - and not the way the prefix actually looks
(KERN_SOH %c). I thought that was kinda clear. anyway,
the point of my email was completely different.
sorry if that confused you, or anybody else.
> It wouldn't even compile.
well, don't try to compile my emails ;)