lkml.org 
[lkml]   [2021]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] vsprintf and uses: Add upper case output to %*ph extension
Date
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

\
 
 \ /
  Last update: 2021-08-26 20:44    [W:0.082 / U:2.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site