Skip to content

printk: more log flag simplification

Alex Elder lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v15 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2printk: kill LOG_CONTkernel/printk/printk.c+21 -210 replies
2/2printk: improve some commentary; tidy upkernel/printk/printk.c+41 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] printk: more log flag simplification

This series eliminates the LOG_CONT entirely from the printk/log code. It builds on another series, posted earlier today:

    http://www.spinics.net/lists/kernel/msg1791665.html

This series was originally longer, but in review I was reminded that some of the simplifications I had done were not valid.

The first patch exploits the fact that LOG_CONT and LOG_NEWLINE are inverses, and uses LOG_NEWLINE (or its negation) anywhere LOG_CONT is used. As a result, LOG_CONT is no longer needed, so it's eliminated.

The second patch improves some comments and makes a few small code cleanups, now that it's gone through this transformation.

-Alex

This series is available here:
http://git.linaro.org/landing-teams/working/broadcom/kernel.git
Branch review/more-printk-flags-v2
It is based on branch review/printk-flags-v6 in that same repository.

Alex Elder (2):
printk: kill LOG_CONT
printk: improve some commentary; tidy up

 kernel/printk/printk.c | 99 ++++++++++++++++++++++++++++++--------------------
 1 file changed, 59 insertions(+), 40 deletions(-)
Signature · 1 line
1.9.1