[{"id":1766954,"web_url":"http://patchwork.ozlabs.org/comment/1766954/","msgid":"<CAPnjgZ0d0dDoBkEj3GtJ9x0EMMhrD7j5iFEJc+gPN0xOZTCQqg@mail.gmail.com>","list_archive_url":null,"date":"2017-09-12T12:28:59","subject":"Re: [U-Boot] [PATCH v2 4/5] vsprintf.c: add GUID printing","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 9 September 2017 at 04:47, Rob Clark <robdclark@gmail.com> wrote:\n> This works (roughly) the same way as linux's, but we currently always\n> print lower-case (ie. we just keep %pUB and %pUL for compat with linux),\n> mostly just because that is what uuid_bin_to_str() supports.\n>\n>   %pUb:   01020304-0506-0708-090a-0b0c0d0e0f10\n>   %pUl:   04030201-0605-0807-090a-0b0c0d0e0f10\n>\n> It will be used by a later efi_loader paths for efi variables and for\n> device-path-to-text protocol, and also quite useful for debug prints\n> of protocol GUIDs.\n>\n> Signed-off-by: Rob Clark <robdclark@gmail.com>\n> Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n> ---\n>  examples/api/Makefile      |  1 +\n>  include/config_fallbacks.h |  1 +\n>  lib/vsprintf.c             | 46 ++++++++++++++++++++++++++++++++++++++++++++--\n>  3 files changed, 46 insertions(+), 2 deletions(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"mb3h522+\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"C26BSPrR\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xs4634VJGz9t6j\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 22:36:09 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid D8B7DC2202A; Tue, 12 Sep 2017 12:32:21 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 1B6B1C2200D;\n\tTue, 12 Sep 2017 12:31:10 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 16272C2200F; Tue, 12 Sep 2017 12:29:24 +0000 (UTC)","from mail-qk0-f169.google.com (mail-qk0-f169.google.com\n\t[209.85.220.169])\n\tby lists.denx.de (Postfix) with ESMTPS id 37E81C21DF7\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 12:29:21 +0000 (UTC)","by mail-qk0-f169.google.com with SMTP id b23so24618740qkg.1\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 05:29:21 -0700 (PDT)","by 10.200.37.200 with HTTP; Tue, 12 Sep 2017 05:28:59 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=a0x0/6Y3atV53vqKumFIf90iD5jGb5RrrDN/vq91J9w=;\n\tb=mb3h522+cFe9IeCWmEsHRY3b1k9w+HaXWbN4xE4zjVCcgqt/xsgAFt5RxPGR/uyay6\n\tG224+cnsTfjADQeZwR2D9pT+JOlcpKUrDPc/sXVL0oB5GtQvT13P1amOmO/hIlag/Inw\n\tt1nRBHYKGxmRzCifpONlY8I8Tm/TIA0JwhWMAgjcClALqQ3TONnKgMdw2M+bMHH695ki\n\tOaNOmZ6+8ElaiFGTl6OEDAkHiPlpuVQkSc7PXg4JomuCUHhmTjlQ4jN49w0BUJHsQ9uO\n\t0R17rlKWl+CCqZibcDn1xNi8UY6O9p2ICmGNLv2Bqkx1x4STb+RsPN4+1M7SNys9EXoA\n\t7M0w==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=a0x0/6Y3atV53vqKumFIf90iD5jGb5RrrDN/vq91J9w=;\n\tb=C26BSPrREUDfVhc6bRsjylV5v01+GrPhC9ah1eFscDEOEOyUI3SA6nb3G7rQDsi4eb\n\tJoMuTWnEVS3KzqQ/yZXFA6SlhdIo3ZNa1h4z+EfOf1Y+rLrDdQYZhvWxZfQEDBHPkUUC\n\tgHULZZ9YXHe/ulLalbrRTrXTZvlb17OYYCNLE="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=a0x0/6Y3atV53vqKumFIf90iD5jGb5RrrDN/vq91J9w=;\n\tb=kn3yU+Z4TLpjeYJP77wtgYmBP/Knc4qujbgUjIF5mYkDtWeGxUASi4g81GDJt2Fk8n\n\tsUzwMJWG4jGjTVkOjRJ2nVVWUGcoDemeT6EImt41kv8GBTRgDmHExE+VvgOHPENdtUxt\n\tQ4JDCXq1WHAe58Y7CvNSzxd7XX2KrKz+oTbWiH56krDVAivrQN/deHoa/6TeIBLrMmUO\n\tTcuYMk22x385hCRkq8cfU30WZXxRjBVMC6eqC4AmQ1QBh22JtuAs2xdgsjOp0x7n/+f+\n\t2HusAVwY5YJyHC2FZVsNjK33JZlwkcoYgcIji8y4fA4D9ocrcbddsTeCfDIwZsd4rJmd\n\tHeBg==","X-Gm-Message-State":"AHPjjUgUyQArWMlSUfIGnpSUcQeh36k0gxRIGGzjqfuRLUy6zglcq/n+\n\tl3ZStMzH9uqbNvNEA4A2yViwq3SvrzVyO2NNiWvYoA==","X-Google-Smtp-Source":"AOwi7QDyrjcixhzw3VmOghDuwzbJMeJJMnfrS8rT4w24Ufh9ouHbRt/3sCEy72HVWLiydRmxnlNR4eK+khp7PNSKGCQ=","X-Received":"by 10.55.81.215 with SMTP id f206mr18061546qkb.188.1505219359994;\n\tTue, 12 Sep 2017 05:29:19 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170909104746.5948-5-robdclark@gmail.com>","References":"<20170909104746.5948-1-robdclark@gmail.com>\n\t<20170909104746.5948-5-robdclark@gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Tue, 12 Sep 2017 06:28:59 -0600","X-Google-Sender-Auth":"5F9cp9okRtx7qTxg-_nl2gbc3Us","Message-ID":"<CAPnjgZ0d0dDoBkEj3GtJ9x0EMMhrD7j5iFEJc+gPN0xOZTCQqg@mail.gmail.com>","To":"Rob Clark <robdclark@gmail.com>","Cc":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>, Stefan Roese <sr@denx.de>","Subject":"Re: [U-Boot] [PATCH v2 4/5] vsprintf.c: add GUID printing","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1767486,"web_url":"http://patchwork.ozlabs.org/comment/1767486/","msgid":"<20170913022848.GK4474@bill-the-cat>","list_archive_url":null,"date":"2017-09-13T02:28:48","subject":"Re: [U-Boot] [U-Boot,v2,4/5] vsprintf.c: add GUID printing","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Sat, Sep 09, 2017 at 06:47:42AM -0400, Rob Clark wrote:\n\n> This works (roughly) the same way as linux's, but we currently always\n> print lower-case (ie. we just keep %pUB and %pUL for compat with linux),\n> mostly just because that is what uuid_bin_to_str() supports.\n> \n>   %pUb:   01020304-0506-0708-090a-0b0c0d0e0f10\n>   %pUl:   04030201-0605-0807-090a-0b0c0d0e0f10\n> \n> It will be used by a later efi_loader paths for efi variables and for\n> device-path-to-text protocol, and also quite useful for debug prints\n> of protocol GUIDs.\n> \n> Signed-off-by: Rob Clark <robdclark@gmail.com>\n> Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n> Reviewed-by: Simon Glass <sjg@chromium.org>\n\nApplied to u-boot/master, thanks!","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"WvYMbiYn\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsQsS2QqXz9t1G\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 12:41:32 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid EE692C223C1; Wed, 13 Sep 2017 02:30:25 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 6EAC0C22356;\n\tWed, 13 Sep 2017 02:29:24 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 14FA0C22367; Wed, 13 Sep 2017 02:28:56 +0000 (UTC)","from mail-yw0-f171.google.com (mail-yw0-f171.google.com\n\t[209.85.161.171])\n\tby lists.denx.de (Postfix) with ESMTPS id 393D9C2231C\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 02:28:52 +0000 (UTC)","by mail-yw0-f171.google.com with SMTP id q80so32072585ywg.2\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 19:28:52 -0700 (PDT)","from bill-the-cat ([2606:a000:140b:dc:202f:e2cf:a300:56c])\n\tby smtp.gmail.com with ESMTPSA id\n\te11sm2696343ywb.105.2017.09.12.19.28.49\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tTue, 12 Sep 2017 19:28:50 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=ljMIUB+8zjEUr2YP4GCKbrQkNIs1EHsPPzWJN4kCmHA=;\n\tb=WvYMbiYngSr7hvW9oASUSVf8/f1GY3diCzGstKSV4VJ4f+WhRV7Wu6dhc0/0wlnOJD\n\tk4syRCOwVeS7D7PflVmQAD51oTqi71KGt+j5SveghzjXuSgWXsogaeOQ0D8q4yp2UkWK\n\tBQHNpUw/fwq3Kb5jrpYI0TF+bB5+EpC3aSC3Y=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=ljMIUB+8zjEUr2YP4GCKbrQkNIs1EHsPPzWJN4kCmHA=;\n\tb=h6dnn4dLN+NGkD/j+F7ZJ7n5b6S8g5uXtvWRPaeogi0I5Z9xttTvkT4TqoiQpo3atS\n\tRRdBzb675kycLBoKHIQv/5KgYYiIltT3FeksDAnoEUurNYOaJk9Exl1ucjNzu6ZLuKFJ\n\tlG23Ar2YWHgXoYA38Dy9rSYH8vYstopdLGjBmexgDgLqJeqLklAD3EfdhfV/9UlJIA9r\n\tChaNS3M66Nb87qtUK8FHOxHFzFCgvfxOqb0efWGBBek08AB7A/UNEtqFU3lP4dKziMN4\n\tLGSZDI8NstqIuQAM8g7HYWvh3UqlO0d08jDLqPAK1Kg+jStKNGsWe6IkDZkHojgwGq69\n\t2Etw==","X-Gm-Message-State":"AHPjjUjRsjsEBqE2vTQi3maJTRywQ2ABad53Im7ltiv0qBmCwKNcfwHt\n\toOiLn25SoOjfAX5V","X-Google-Smtp-Source":"AOwi7QD2p9UCuOjNeBF4RZoULEOAo6tOjKkzEZJQG9PFonC08kFV+q/GHJr/r9aMOsZyIdFgrbLwYg==","X-Received":"by 10.37.197.148 with SMTP id\n\tv142mr14173315ybe.296.1505269731131; \n\tTue, 12 Sep 2017 19:28:51 -0700 (PDT)","Date":"Tue, 12 Sep 2017 22:28:48 -0400","From":"Tom Rini <trini@konsulko.com>","To":"Rob Clark <robdclark@gmail.com>","Message-ID":"<20170913022848.GK4474@bill-the-cat>","References":"<20170909104746.5948-5-robdclark@gmail.com>","MIME-Version":"1.0","In-Reply-To":"<20170909104746.5948-5-robdclark@gmail.com>","User-Agent":"Mutt/1.5.21 (2010-09-15)","Cc":"Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>, Stefan Roese <sr@denx.de>,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>","Subject":"Re: [U-Boot] [U-Boot,v2,4/5] vsprintf.c: add GUID printing","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"multipart/mixed;\n\tboundary=\"===============8613260449862537019==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]