[GIT PULL] printk for 4.13
From: Petr Mladek
Date: Mon Jul 03 2017 - 10:24:43 EST
Linus,
please pull the latest printk changes from
git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git for-linus
==========
- Store printk() messages into the main log buffer directly even in NMI
when the lock is available. It is the best effort to print even large
chunk of text. It is handy, for example, when all ftrace messages
are printed during the system panic in NMI.
- Add missing annotations to calm down compiler warnings.
----------------------------------------------------------------
Nicolas Iooss (1):
printk: add __printf attributes to internal functions
Petr Mladek (2):
printk: Use the main logbuf in NMI when logbuf_lock is available
Merge branch 'for-4.13' into for-linus
kernel/printk/internal.h | 6 ++++--
kernel/printk/printk.c | 19 ++++++++++++++-----
kernel/printk/printk_safe.c | 36 +++++++++++++++++++++++++++++-------
lib/nmi_backtrace.c | 3 +++
4 files changed, 50 insertions(+), 14 deletions(-)
Best Regards,
Petr Mladek