[PATCH 0/5] vsprintf and uses: Add upper case output to %*ph extension

From: Joe Perches
Date: Thu Aug 26 2021 - 14:43:13 EST


Several sysfs uses that could use %*ph are upper case hex output.
Add a flag to the short hex formatting routine in vsprintf to support them.
Add documentation too.

Joe Perches (5):
vsprintf/Documentation: Add X to %*ph extension to output upper case hex
scsi: aacraid: Use vsprintf %phNX extension
scsi: hpsa: Use vsprintf %phNX extension
scsi: smartpqi: Use vsprintf %phNX extension
staging: r8188eu: Use vsprintf extension %phCX to format a copy_to_user string

Documentation/core-api/printk-formats.rst | 6 +++
drivers/scsi/aacraid/linit.c | 7 +---
drivers/scsi/hpsa.c | 8 +---
drivers/scsi/smartpqi/smartpqi_init.c | 8 +---
drivers/staging/r8188eu/os_dep/ioctl_linux.c | 9 ++---
lib/vsprintf.c | 42 ++++++++++++--------
6 files changed, 37 insertions(+), 43 deletions(-)

--
2.30.0