Skip to content

Add vsprintf extension %pU to print UUID/GUIDs and use it

Joe Perches cluster-devel linux-media linux-mtd linux-raid linux-xfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9lib/vsprintf.c: Add %pU to print UUID/GUIDslib/vsprintf.c+57 -14 replies
2/9efi.h: Use %pUr to print UUIDsinclude/linux/efi.h+1 -50 replies
3/9random.c: Use %pU to print UUIDsdrivers/char/random.c+3 -70 replies
4/9drivers/firmware/dmi_scan.c: Use %pUX to print UUIDsdrivers/firmware/dmi_scan.c+1 -40 replies
5/9drivers/md/md.c: Use %pU to print UUIDsdrivers/md/md.c+4 -120 replies
6/9drivers/media/video/uvc: Use %pUr to print UUIDsdrivers/media/video/uvc/uvc_ctrl.c drivers/media/video/uvc/uvc_driver.c drivers/media/video/uvc/uvcvideo.h+35 -512 replies
7/9fs/gfs2/sys.c: Use %pUX to print UUIDsfs/gfs2/sys.c+3 -131 reply
8/9fs/ubifs: Use %pUX to print UUIDsfs/ubifs/debug.c fs/ubifs/super.c+3 -131 reply
9/9fs/xfs/xfs_log_recover.c: Use %pU to print UUIDsfs/xfs/xfs_log_recover.c+4 -100 replies

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by.

PatchSteven WhitehouseArtem Bityutskiy
1/9
2/9
3/9
4/9
5/9
6/9
7/9A-b
8/9A-b
9/9

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

Read the v1 thread

Cover letter [PATCH 0/9] Add vsprintf extension %pU to print UUID/GUIDs and use it

It makes an x86 defconfig smaller compiled with gcc 4.4 smaller too

old:

$ size vmlinux
   text	   data	    bss	    dec	    hex	filename
6981105	 678300	1359668	9019073	 899ec1	vmlinux

new:

$ size vmlinux
   text	   data	    bss	    dec	    hex	filename
6980770	 678380	1359668	9018818	 899dc2	vmlinux

Joe Perches (9):
lib/vsprintf.c: Add %pU to print UUID/GUIDs efi.h: Use %pUr to print UUIDs
random.c: Use %pU to print UUIDs drivers/firmware/dmi_scan.c: Use %pUX to print UUIDs drivers/md/md.c: Use %pU to print UUIDs drivers/media/video/uvc: Use %pUr to print UUIDs fs/gfs2/sys.c: Use %pUX to print UUIDs fs/ubifs: Use %pUX to print UUIDs fs/xfs/xfs_log_recover.c: Use %pU to print UUIDs

 drivers/char/random.c                |   10 +---
 drivers/firmware/dmi_scan.c          |    5 +--
 drivers/md/md.c                      |   16 ++------
 drivers/media/video/uvc/uvc_ctrl.c   |   69 ++++++++++++++++------------------
 drivers/media/video/uvc/uvc_driver.c |    7 +--
 drivers/media/video/uvc/uvcvideo.h   |   10 -----
 fs/gfs2/sys.c                        |   16 +------
 fs/ubifs/debug.c                     |    9 +---
 fs/ubifs/super.c                     |    7 +---
 fs/xfs/xfs_log_recover.c             |   14 ++-----
 include/linux/efi.h                  |    6 +--
 lib/vsprintf.c                       |   58 ++++++++++++++++++++++++++++-
 12 files changed, 111 insertions(+), 116 deletions(-)