• A
    lib/vsprintf: simplify UUID printing · aa4ea1c3
    Andy Shevchenko 提交于
    There are few functions here and there along with type definitions that
    provide UUID API.  This series consolidates everything under one hood
    and converts current users.
    
    This has been tested for a while internally, however it doesn't mean we
    covered all possible cases (especially accuracy of UUID constants after
    conversion).  So, please test this as much as you can and provide your
    tag.  We appreciate the effort.
    
    The ACPI conversion is postponed for now to sort more generic things out
    first.
    
    This patch (of 9):
    
    Since we have hex_byte_pack_upper() we may use it directly and avoid
    second loop.
    Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
    Reviewed-by: NMatt Fleming <matt@codeblueprint.co.uk>
    Cc: Dmitry Kasatkin <dmitry.kasatkin@gmail.com>
    Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>
    Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: "Theodore Ts'o" <tytso@mit.edu>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Jens Axboe <axboe@kernel.dk>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    aa4ea1c3
vsprintf.c 66.7 KB