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

From: Alex Elder
Date: Tue Jul 22 2014 - 10:01:58 EST


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(-)

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/