]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7760a3190b0e8464426527c50ac6ce2c8b14f555
treee284f086c060ce5a510a5153ba0ee54f90688da5
parent48d1e7e8c899bb628d50ddb2907a50a8d1920034
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