[GIT PULL] printk for 5.5

From: Petr Mladek
Date: Mon Nov 25 2019 - 07:36:31 EST


Linus,

please pull the latest printk changes from

git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk tags/printk-for-5.5


===========================

- Allow to print symbolic error names via new %pe modifier.

- Use pr_warn() instead of the remaining pr_warning() calls.
Fix formatting of the related lines.

- Add VSPRINTF entry to MAINTAINERS.

===========================

There are 3 expected merge conflicts:

+ with 'AKPM' tree:
+ both trees add a new independent configure option in lib/Kconfig.debug

+ with 'pm' tree:
+ both trees add new independent printf selftest

+ 'printk' tree adds 'e' into 'extension' string;
'pm' tree adds support to check the third letter
and detect %pfw


----------------------------------------------------------------
Kefeng Wang (29):
alpha: Use pr_warn instead of pr_warning
arm64: Use pr_warn instead of pr_warning
ia64: Use pr_warn instead of pr_warning
riscv: Use pr_warn instead of pr_warning
sh: Use pr_warn instead of pr_warning
sparc: Use pr_warn instead of pr_warning
x86: Use pr_warn instead of pr_warning
acpi: Use pr_warn instead of pr_warning
drbd: Use pr_warn instead of pr_warning
gdrom: Use pr_warn instead of pr_warning
clocksource: samsung_pwm_timer: Use pr_warn instead of pr_warning
crypto: n2: Use pr_warn instead of pr_warning
ide: Use pr_warn instead of pr_warning
idsn: Use pr_warn instead of pr_warning
macintosh: Use pr_warn instead of pr_warning
of: Use pr_warn instead of pr_warning
oprofile: Use pr_warn instead of pr_warning
platform/x86: eeepc-laptop: Use pr_warn instead of pr_warning
platform/x86: asus-laptop: Use pr_warn instead of pr_warning
platform/x86: intel_oaktrail: Use pr_warn instead of pr_warning
scsi: Use pr_warn instead of pr_warning
sh/intc: Use pr_warn instead of pr_warning
fs: afs: Use pr_warn instead of pr_warning
vgacon: Use pr_warn instead of pr_warning
dma-debug: Use pr_warn instead of pr_warning
trace: Use pr_warn instead of pr_warning
lib: cpu_rmap: Use pr_warn instead of pr_warning
ASoC: samsung: Use pr_warn instead of pr_warning
tools lib api: Renaming pr_warning to pr_warn

Petr Mladek (2):
Merge branch 'for-5.5-pr-warn' into for-5.5
MAINTAINERS: Add VSPRINTF

Rasmus Villemoes (1):
printf: add support for printing symbolic error names

Uwe Kleine-König (1):
checkpatch: don't warn about new vsprintf pointer extension '%pe'

Documentation/core-api/printk-formats.rst | 12 ++
MAINTAINERS | 12 ++
arch/alpha/kernel/perf_event.c | 4 +-
arch/arm64/kernel/hw_breakpoint.c | 8 +-
arch/arm64/kernel/smp.c | 11 +-
arch/ia64/kernel/setup.c | 2 +-
arch/riscv/kernel/module.c | 4 +-
arch/sh/boards/mach-sdk7786/nmi.c | 2 +-
arch/sh/drivers/pci/fixups-sdk7786.c | 2 +-
arch/sh/kernel/io_trapped.c | 2 +-
arch/sh/kernel/setup.c | 2 +-
arch/sh/mm/consistent.c | 5 +-
arch/sparc/kernel/smp_64.c | 6 +-
arch/x86/kernel/amd_gart_64.c | 12 +-
arch/x86/kernel/apic/apic.c | 41 +++---
arch/x86/kernel/setup_percpu.c | 4 +-
arch/x86/kernel/tboot.c | 15 +-
arch/x86/kernel/tsc_sync.c | 8 +-
arch/x86/kernel/umip.c | 6 +-
arch/x86/mm/kmmio.c | 7 +-
arch/x86/mm/mmio-mod.c | 6 +-
arch/x86/mm/numa_emulation.c | 4 +-
arch/x86/mm/testmmiotrace.c | 6 +-
arch/x86/oprofile/op_x86_model.h | 6 +-
arch/x86/platform/olpc/olpc-xo15-sci.c | 2 +-
arch/x86/platform/sfi/sfi.c | 3 +-
arch/x86/xen/setup.c | 2 +-
drivers/acpi/apei/apei-base.c | 44 +++---
drivers/acpi/apei/einj.c | 4 +-
drivers/acpi/apei/erst-dbg.c | 5 +-
drivers/acpi/apei/ghes.c | 25 ++--
drivers/acpi/apei/hest.c | 14 +-
drivers/acpi/battery.c | 2 +-
drivers/acpi/resource.c | 4 +-
drivers/block/drbd/drbd_nl.c | 13 +-
drivers/cdrom/gdrom.c | 4 +-
drivers/clocksource/samsung_pwm_timer.c | 3 +-
drivers/crypto/n2_core.c | 12 +-
drivers/ide/tx4938ide.c | 2 +-
drivers/ide/tx4939ide.c | 6 +-
drivers/isdn/hardware/mISDN/avmfritz.c | 16 +--
drivers/isdn/hardware/mISDN/hfcmulti.c | 8 +-
drivers/isdn/hardware/mISDN/hfcpci.c | 3 +-
drivers/isdn/hardware/mISDN/hfcsusb.c | 4 +-
drivers/isdn/hardware/mISDN/mISDNipac.c | 4 +-
drivers/isdn/hardware/mISDN/mISDNisar.c | 10 +-
drivers/isdn/hardware/mISDN/netjet.c | 8 +-
drivers/isdn/hardware/mISDN/w6692.c | 12 +-
drivers/isdn/mISDN/hwchannel.c | 7 +-
drivers/macintosh/windfarm_fcu_controls.c | 4 +-
drivers/macintosh/windfarm_lm87_sensor.c | 4 +-
drivers/macintosh/windfarm_pm72.c | 22 +--
drivers/macintosh/windfarm_rm31.c | 6 +-
drivers/of/fdt.c | 20 +--
drivers/oprofile/oprofile_perf.c | 8 +-
drivers/platform/x86/asus-laptop.c | 2 +-
drivers/platform/x86/eeepc-laptop.c | 2 +-
drivers/platform/x86/intel_oaktrail.c | 10 +-
drivers/scsi/a3000.c | 2 +-
drivers/sh/intc/core.c | 4 +-
drivers/video/console/vgacon.c | 6 +-
fs/afs/flock.c | 4 +-
fs/afs/inode.c | 13 +-
fs/afs/yfsclient.c | 4 +-
include/linux/errname.h | 16 +++
kernel/dma/debug.c | 2 +-
kernel/trace/trace_benchmark.c | 4 +-
lib/Kconfig.debug | 9 ++
lib/Makefile | 1 +
lib/cpu_rmap.c | 2 +-
lib/errname.c | 223 ++++++++++++++++++++++++++++++
lib/test_printf.c | 21 +++
lib/vsprintf.c | 27 ++++
scripts/checkpatch.pl | 2 +-
sound/soc/samsung/s3c-i2s-v2.c | 6 +-
tools/lib/api/debug-internal.h | 4 +-
tools/lib/api/debug.c | 4 +-
tools/lib/api/fs/fs.c | 4 +-
78 files changed, 571 insertions(+), 269 deletions(-)
create mode 100644 include/linux/errname.h
create mode 100644 lib/errname.c