]> 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)
commitc9cac379237018418e4cccae190da0b6a014eccf
treee284f086c060ce5a510a5153ba0ee54f90688da5
parent36e874c5b0285448cdce199bb8a4d32eb4259222
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