[GIT PULL] printk for 7.2
From: Petr Mladek
Date: Wed Jun 17 2026 - 05:33:24 EST
Hi Linus,
please pull the latest printk changes from
git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-7.2
===========================================
- Add upper case flavor for printing MAC addresses (%p[mM][U])
and use it in the nintendo driver
- Fix matching of hash_pointers= parameter modes
- Fix size check of vsprintf() field_width and precision values
- Add check of size returned by vsprintf()
- Add KUnit test for restricted pointer printing (%pK)
- Some code cleanup
----------------------------------------------------------------
Andy Shevchenko (2):
vsprintf: Add upper case flavour to %p[mM]
HID: nintendo: Use %pM format specifier for MAC addresses
Kaitao Cheng (1):
lib/vsprintf: Require exact hash_pointers mode matches
Masami Hiramatsu (Google) (2):
lib/vsprintf: Fix to check field_width and precision
lib/vsprintf: Limit the returning size to INT_MAX
Naveen Kumar Chaudhary (1):
printk: fix typos in comments
Petr Mladek (2):
Merge branch 'for-7.2-vsprintf-size-checks' into for-linus
Merge branch 'for-7.2-vsprintf-pmM-uppercase' into for-linus
Thomas Weißschuh (2):
vsprintf: Only export no_hash_pointers to test module
vsprintf: Add test for restricted kernel pointers
Thorsten Blum (1):
lib/vsprintf: replace min_t/max_t with min/max
Documentation/core-api/printk-formats.rst | 3 ++
drivers/hid/hid-nintendo.c | 10 +---
kernel/printk/nbcon.c | 6 +--
kernel/printk/printk.c | 6 +--
lib/tests/printf_kunit.c | 24 ++++++++-
lib/vsprintf.c | 88 ++++++++++++++++++-------------
6 files changed, 85 insertions(+), 52 deletions(-)