Merge tag 'printk-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk
Pull printk updates from Petr Mladek: - Allow state reset of printk_once() calls. - Prevent crashes when dereferencing invalid pointers in vsprintf(). Only the first byte is checked for simplicity. - Make vsprintf warnings consistent and inlined. - Treewide conversion of obsolete %pf, %pF to %ps, %pF printf modifiers. - Some clean up of vsprintf and test_printf code. * tag 'printk-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk: lib/vsprintf: Make function pointer_string static vsprintf: Limit the length of inlined error messages vsprintf: Avoid confusion between invalid address and value vsprintf: Prevent crash when dereferencing invalid pointers vsprintf: Consolidate handling of unknown pointer specifiers vsprintf: Factor out %pO handler as kobject_string() vsprintf: Factor out %pV handler as va_format() vsprintf: Factor out %p[iI] handler as ip_addr_string() vsprintf: Do not check address of well-known strings vsprintf: Consistent %pK handling for kptr_restrict == 0 vsprintf: Shuffle restricted_pointer() printk: Tie printk_once / printk_deferred_once into .data.once for reset treewide: Switch printk users from %pf and %pF to %ps and %pS, respectively lib/test_printf: Switch to bitmap_zalloc()
No related branches found
No related tags found
Showing
- Documentation/clearing-warn-once.txt 1 addition, 1 deletionDocumentation/clearing-warn-once.txt
- Documentation/core-api/printk-formats.rst 8 additions, 0 deletionsDocumentation/core-api/printk-formats.rst
- arch/alpha/kernel/pci_iommu.c 10 additions, 10 deletionsarch/alpha/kernel/pci_iommu.c
- arch/arm/mach-imx/pm-imx6.c 1 addition, 1 deletionarch/arm/mach-imx/pm-imx6.c
- arch/arm/mm/alignment.c 1 addition, 1 deletionarch/arm/mm/alignment.c
- arch/arm/nwfpe/fpmodule.c 1 addition, 1 deletionarch/arm/nwfpe/fpmodule.c
- arch/microblaze/mm/pgtable.c 1 addition, 1 deletionarch/microblaze/mm/pgtable.c
- arch/sparc/kernel/ds.c 1 addition, 1 deletionarch/sparc/kernel/ds.c
- arch/um/kernel/sysrq.c 1 addition, 1 deletionarch/um/kernel/sysrq.c
- arch/x86/include/asm/trace/exceptions.h 1 addition, 1 deletionarch/x86/include/asm/trace/exceptions.h
- arch/x86/mm/extable.c 2 additions, 2 deletionsarch/x86/mm/extable.c
- arch/x86/xen/multicalls.c 1 addition, 1 deletionarch/x86/xen/multicalls.c
- drivers/acpi/device_pm.c 1 addition, 1 deletiondrivers/acpi/device_pm.c
- drivers/base/power/main.c 3 additions, 3 deletionsdrivers/base/power/main.c
- drivers/base/syscore.c 6 additions, 6 deletionsdrivers/base/syscore.c
- drivers/block/drbd/drbd_receiver.c 1 addition, 1 deletiondrivers/block/drbd/drbd_receiver.c
- drivers/block/floppy.c 5 additions, 5 deletionsdrivers/block/floppy.c
- drivers/cpufreq/cpufreq.c 1 addition, 1 deletiondrivers/cpufreq/cpufreq.c
- drivers/mmc/core/quirks.h 1 addition, 1 deletiondrivers/mmc/core/quirks.h
- drivers/nvdimm/bus.c 1 addition, 1 deletiondrivers/nvdimm/bus.c
Loading
Please register or sign in to comment