Commit f54051722e5715d24cd4469606ebdf488b6d5779
Committed by
Linus Torvalds
1 parent
c0a318a361
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
printk: make dynamic units clear for the kernel ring buffer
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com> Suggested-by: Davidlohr Bueso <davidlohr@hp.com> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Michal Hocko <mhocko@suse.cz> Cc: Petr Mladek <pmladek@suse.cz> Cc: Joe Perches <joe@perches.com> Cc: Arun KS <arunks.linux@gmail.com> Cc: Kees Cook <keescook@chromium.org> Cc: Davidlohr Bueso <davidlohr@hp.com> Cc: Chris Metcalf <cmetcalf@tilera.com> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
kernel/printk/printk.c
... | ... | @@ -879,7 +879,7 @@ |
879 | 879 | memcpy(log_buf, __log_buf, __LOG_BUF_LEN); |
880 | 880 | raw_spin_unlock_irqrestore(&logbuf_lock, flags); |
881 | 881 | |
882 | - pr_info("log_buf_len: %d\n", log_buf_len); | |
882 | + pr_info("log_buf_len: %d bytes\n", log_buf_len); | |
883 | 883 | pr_info("early log buf free: %d(%d%%)\n", |
884 | 884 | free, (free * 100) / __LOG_BUF_LEN); |
885 | 885 | } |