linux/kernel/printk
Pierre Kuo aec47caa74 printk: Modify operators of printed_len and text_len
With commit <ddb9baa82226> ("printk: report lost messages in printk
safe/nmi contexts") and commit <8b1742c9c207> ("printk: remove zap_locks()
function"), it seems we can remove initialization, "=0", of text_len and
directly assign result of log_output to printed_len.

Link: http://lkml.kernel.org/r/1499755255-6258-1-git-send-email-vichy.kuo@gmail.com
Cc: rostedt@goodmis.org
Cc: linux-kernel@vger.kernel.org
Cc: joe@perches.com
Signed-off-by: Pierre Kuo <vichy.kuo@gmail.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
2017-07-27 15:04:21 +02:00
..
braille.c braille-console: Fix value returned by _braille_console_setup 2017-03-31 15:29:06 +02:00
braille.h braille-console: Fix value returned by _braille_console_setup 2017-03-31 15:29:06 +02:00
console_cmdline.h console: Fix console name size mismatch 2015-03-07 03:39:55 +01:00
internal.h printk: Use the main logbuf in NMI when logbuf_lock is available 2017-05-19 14:42:19 +02:00
Makefile printk: introduce per-cpu safe_print seq buffer 2017-02-08 11:07:11 +01:00
printk_safe.c printk: add __printf attributes to internal functions 2017-06-13 16:36:02 +02:00
printk.c printk: Modify operators of printed_len and text_len 2017-07-27 15:04:21 +02:00