Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: printk: what is going on with additional newlines?

$
0
0
Linus Torvalds writes: (Summary) I'd suggest perhaps just "pr_line()".
I'd suggest perhaps just "pr_line()".
And instead of having those "err/info/cont" variations, the severity level should just be set at initialization time. Not different versions of "pr_line()".
versions of "pr_line()".
There's no point to having different severity variations, since the *only* reason for this would be for buffering. So "pr_cont()" is kind of assumed for everything but the first.
of assumed for everything but the first.
And even if you end up doing multiple lines, if you actually do
different severities, you damn well shouldn't buffer them together.

Viewing all articles
Browse latest Browse all 1267

Trending Articles