Messages in this thread | | | From | Alex Elder <> | Subject | [PATCH v2 0/2] printk: more log flag simplification | Date | Tue, 22 Jul 2014 09:01:55 -0500 |
| |
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
| |