Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] vsprintf: add upper case to %p[mM] et alia
@ 2026-06-03 10:34 Andy Shevchenko
  2026-06-03 10:34 ` [PATCH v2 1/2] vsprintf: Add upper case flavour to %p[mM] Andy Shevchenko
  2026-06-03 10:34 ` [PATCH v2 2/2] HID: nintendo: Use %pM format specifier for MAC addresses Andy Shevchenko
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Shevchenko @ 2026-06-03 10:34 UTC (permalink / raw)
  To: Andy Shevchenko, Jiri Kosina, Daniel J. Ogorchock, Petr Mladek,
	Tamir Duberstein, linux-doc, linux-kernel, linux-input
  Cc: Steven Rostedt, Rasmus Villemoes, Sergey Senozhatsky,
	Jonathan Corbet, Shuah Khan, Benjamin Tissoires, Andrew Morton

The first patch induced by Sashiko rightfully rises a concern on
potential ABI breakage. To avoid that and allow the user (patch 2)
to be converted to use unified output introduce %p[mM][...]U for
printing in upper case. Tests are included and passed.

Changelog v2:
- added first patch (Sashiko)

Andy Shevchenko (2):
  vsprintf: Add upper case flavour to %p[mM]
  HID: nintendo: Use %pM format specifier for MAC addresses

 Documentation/core-api/printk-formats.rst |  3 +++
 drivers/hid/hid-nintendo.c                | 10 ++--------
 lib/tests/printf_kunit.c                  |  2 ++
 lib/vsprintf.c                            | 22 ++++++++++++++++------
 4 files changed, 23 insertions(+), 14 deletions(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-03 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03 10:34 [PATCH v2 0/2] vsprintf: add upper case to %p[mM] et alia Andy Shevchenko
2026-06-03 10:34 ` [PATCH v2 1/2] vsprintf: Add upper case flavour to %p[mM] Andy Shevchenko
2026-06-03 10:34 ` [PATCH v2 2/2] HID: nintendo: Use %pM format specifier for MAC addresses Andy Shevchenko
2026-06-03 12:03   ` Benjamin Tissoires
2026-06-03 13:42     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox