• J
    lib/vsprintf.c: add %pU to print UUID/GUIDs · 9ac6e44e
    Joe Perches 提交于
    UUID/GUIDs are somewhat common in kernel source.
    
    Standardize the printed style of UUID/GUIDs by using
    another extension to %p.
    
    %pUb:   01020304-0506-0708-090a-0b0c0d0e0f10
    %pUB:   01020304-0506-0708-090A-0B0C0D0E0F10 (upper case)
    %pUl:   04030201-0605-0807-090a-0b0c0d0e0f10
    %pUL:   04030201-0605-0807-090A-0B0C0D0E0F10 (upper case)
    
    %pU defaults to %pUb
    Signed-off-by: NJoe Perches <joe@perches.com>
    Cc: Jeff Garzik <jgarzik@redhat.com>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Alex Elder <aelder@sgi.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Artem Bityutskiy <dedekind@infradead.org>
    Cc: Adrian Hunter <adrian.hunter@nokia.com>
    Cc: Steven Whitehouse <swhiteho@redhat.com>
    Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
    Cc: Matt Mackall <mpm@selenic.com>
    Cc: Neil Brown <neilb@suse.de>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    9ac6e44e
vsprintf.c 47.7 KB