mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
printk: make dynamic units clear for the kernel ring buffer
Signed-off-by: Luis R. Rodriguez <[email protected]> Suggested-by: Davidlohr Bueso <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Petr Mladek <[email protected]> Cc: Joe Perches <[email protected]> Cc: Arun KS <[email protected]> Cc: Kees Cook <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Chris Metcalf <[email protected]> Cc: Jan Kara <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c0a318a361
commit
f54051722e
1 changed files with 1 additions and 1 deletions
|
|
@ -879,7 +879,7 @@ void __init setup_log_buf(int early)
|
|||
memcpy(log_buf, __log_buf, __LOG_BUF_LEN);
|
||||
raw_spin_unlock_irqrestore(&logbuf_lock, flags);
|
||||
|
||||
pr_info("log_buf_len: %d\n", log_buf_len);
|
||||
pr_info("log_buf_len: %d bytes\n", log_buf_len);
|
||||
pr_info("early log buf free: %d(%d%%)\n",
|
||||
free, (free * 100) / __LOG_BUF_LEN);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue