Skip to content

vsprintf: add upper case to %p[mM] et alia

Andy Shevchenko linux-doc linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Changes in v2 from the cover letter

- added first patch (Sashiko)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vsprintf: Add upper case flavour to %p[mM]Documentation/core-api/printk-formats.rst lib/tests/printf_kunit.c lib/vsprintf.c+21 -60 replies
2/2HID: nintendo: Use %pM format specifier for MAC addressesdrivers/hid/hid-nintendo.c+2 -82 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBenjamin TissoiresPetr Mladek
SeriesR-b
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] vsprintf: add upper case to %p[mM] et alia

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(-)
Signature · 1 line
2.50.1