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 Latest8 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lib/vsprintf.c: Add %pU to print UUID/GUIDslib/vsprintf.c+61 -10 replies
2/8random.c: Use %pU to print UUIDsdrivers/char/random.c+3 -71 reply
3/8drivers/firmware/dmi_scan.c: Use %pUB to print UUIDsdrivers/firmware/dmi_scan.c+1 -40 replies
4/8drivers/md/md.c: Use %pU to print UUIDsdrivers/md/md.c+4 -120 replies
5/8drivers/media/video/uvc: Use %pUl to print UUIDsdrivers/media/video/uvc/uvc_ctrl.c drivers/media/video/uvc/uvc_driver.c drivers/media/video/uvc/uvcvideo.h+35 -516 replies
6/8fs/gfs2/sys.c: Use %pUB to print UUIDsfs/gfs2/sys.c+3 -130 replies
7/8fs/ubifs: Use %pUB to print UUIDsfs/ubifs/debug.c fs/ubifs/super.c+3 -130 replies
8/8fs/xfs/xfs_log_recover.c: Use %pU to print UUIDsfs/xfs/xfs_log_recover.c+4 -102 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Using %pU makes an x86 defconfig image a bit smaller

before: $ size vmlinux
text data bss dec hex filename
6976022 679572 1359668 9015262 898fde vmlinux

after: $ size vmlinux
text data bss dec hex filename
6975863 679652 1359668 9015183 898f8f vmlinux

Joe Perches (8):
lib/vsprintf.c: Add %pU to print UUID/GUIDs random.c: Use %pU to print UUIDs drivers/firmware/dmi_scan.c: Use %pUB to print UUIDs drivers/md/md.c: Use %pU to print UUIDs drivers/media/video/uvc: Use %pUl to print UUIDs fs/gfs2/sys.c: Use %pUB to print UUIDs fs/ubifs: Use %pUB 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 ++-----
 lib/vsprintf.c                       |   62 ++++++++++++++++++++++++++++++-
 11 files changed, 114 insertions(+), 111 deletions(-)

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs