printk: comment pr_cont() stating it is only to continue a line
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 15 Apr 2015 23:16:59 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Apr 2015 23:35:23 +0000 (16:35 -0700)
commit7b1460eccad0621e0c48f52bbedeb7adddc55ac9
treee284f086c060ce5a510a5153ba0ee54f90688da5
parente243304d0a51f5b27a0606c4e5c2ebba6854d20f
printk: comment pr_cont() stating it is only to continue a line

KERN_CONT is nicely commented in kern_levels.h, but pr_cont() is now used
more often, and it lacks the comment stating what it is used for.  It can
be confused as continuing the log level, but that is not its purpose.  Its
purpose is to continue a line that had no newline enclosed.  This should
be documented by pr_cont() as well.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/printk.h