xfs-masters
[Top] [All Lists]

Re: [PATCH 1/9] lib/vsprintf.c: Add %pU to print UUID/GUIDs

To: Joe Perches <joe@xxxxxxxxxxx>
Subject: Re: [PATCH 1/9] lib/vsprintf.c: Add %pU to print UUID/GUIDs
From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Thu, 1 Oct 2009 09:10:07 +0200
Cc: linux-kernel@xxxxxxxxxxxxxxx, Adrian Hunter <adrian.hunter@xxxxxxxxx>, Alex Elder <aelder@xxxxxxx>, Artem Bityutskiy <dedekind@xxxxxxxxxxxxx>, Christoph Hellwig <hch@xxxxxx>, Harvey Harrison <harvey.harrison@xxxxxxxxx>, Huang Ying <ying.huang@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxxx>, Laurent Pinchart <laurent.pinchart@xxxxxxxxx>, Matt Mackall <mpm@xxxxxxxxxxx>, Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>, Neil Brown <neilb@xxxxxxx>, Steven Whitehouse <swhiteho@xxxxxxxxxx>, xfs-masters@xxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=kqUfg1VKrLae0AbeX1ncTYPbx/63A/AwhSAQPdzHwN4=; b=I4IUJrIwjiipQUuHit1yUxhwOcQZCdoOPN1dHTvYBJKTyx1ZVT1XTVoEr4nQhrhjEl +D8udhxA3SjpU4X58BgKTpJOOiV+l+cRCE7RgmwVLmto1oPIxnW09VXslQn/e7Tmirva 9NR3jQBuLeehkCT8X39fFB/C6eIRZ3MMP57dQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Qpyzk5wKYa2S4udHX8zQokxjwyLaoTkFapYTopSftkjGOvnlnR1xKIhcYlNHPo5E92 uHmkGQTgwTV/4JZ1lQtDgstVZi65wWAA/FYdgPgy6c2Y9haB5mhMjRLJNqYdCkSX8CgV h8AhDItzuLSkCXsJy6iX1BtxB4ShZsqcKyh2Y=
In-reply-to: <f28939e0018c7e2a9e898722e0fb8514a843b14c.1254193019.git.joe@xxxxxxxxxxx>
References: <cover.1254193019.git.joe@xxxxxxxxxxx> <f28939e0018c7e2a9e898722e0fb8514a843b14c.1254193019.git.joe@xxxxxxxxxxx>
Sender: geert.uytterhoeven@xxxxxxxxx
On Tue, Sep 29, 2009 at 07:01, Joe Perches <joe@xxxxxxxxxxx> wrote:
> UUID/GUIDs are somewhat common in kernel source.
>
> Standardize the printed style of UUID/GUIDs by using
> another extension to %p.
>
> %pU:    01020304-0506-0708-090a-0b0c0d0e0f10
> %pUr:   04030201-0605-0807-090a-0b0c0d0e0f10
> %pU[r]X:Use upper case hex

To me, it looks a bit strange to have the options after the `U', combined with
the variable-length nature.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>