]> git.baikalelectronics.ru Git - kernel.git/commit
printk: re-organize log_output() to be more legible
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 9 Oct 2016 18:53:00 +0000 (11:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 9 Oct 2016 19:23:40 +0000 (12:23 -0700)
commit370a5785c25c16c57be670ad7414eaf675f203b1
treebed19a06e5984b1d05816bd0a8e8178f0fef6aa4
parentb0a789923fafb4d57ef291304519962f84fb5d7c
printk: re-organize log_output() to be more legible

Avoid some duplicate logic now that we can return early, and update the
comments for the new LOG_CONT world order.

This also stops the continuation flushing from just using random record
flags for the flushing action, instead taking the flags from the proper
original line and updating them as we add continuations to it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/printk/printk.c