[{"id":1766953,"web_url":"http://patchwork.ozlabs.org/comment/1766953/","msgid":"<CAPnjgZ3LVdxMxHtT0xvjiHF0OQFMok6R3Fv22Y6uNwcSXmrWiw@mail.gmail.com>","list_archive_url":null,"date":"2017-09-12T12:29:04","subject":"Re: [U-Boot] [PATCH v2 3/5] vsprintf.c: add UTF-16 string (%ls)\n\tsupport","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 is convenient for efi_loader which deals a lot with UTF-16.  Only\n> enabled with CC_SHORT_WCHAR, leaving room to add a UTF-32 version when\n> CC_SHORT_WCHAR is not enabled.\n>\n> Signed-off-by: Rob Clark <robdclark@gmail.com>\n> Reviewed-by: Simon Glass <sjg@chromium.org>\n> ---\n>  examples/api/Makefile |  1 +\n>  lib/vsprintf.c        | 30 ++++++++++++++++++++++++++++--\n>  2 files changed, 29 insertions(+), 2 deletions(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>\n\nWould like to see simple test cases for these (e.g. somewhere like\ntest/vsprint.c). See test/ut_print.c for an example.","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=\"Xv7AaJbL\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"MP1FMpaR\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xs46F2tt8z9t7F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 22:36:21 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid C11E0C22033; Tue, 12 Sep 2017 12:32:06 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id C9A63C21D7B;\n\tTue, 12 Sep 2017 12:31:00 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid C7AF6C21FE8; Tue, 12 Sep 2017 12:29:35 +0000 (UTC)","from mail-qt0-f180.google.com (mail-qt0-f180.google.com\n\t[209.85.216.180])\n\tby lists.denx.de (Postfix) with ESMTPS id 37CDDC21FD0\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 12:29:26 +0000 (UTC)","by mail-qt0-f180.google.com with SMTP id m35so25128693qte.1\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 05:29:26 -0700 (PDT)","by 10.200.37.200 with HTTP; Tue, 12 Sep 2017 05:29:04 -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=rrgKLaa8pSzKytYP1BGVLaKa3aqG3MudcNFkUP3E1vw=;\n\tb=Xv7AaJbLTcVx/tK4530KndtwxiR5DU/+Kj1Xe4DAXfuBY/KpVZUA1N5lVeBIJwxlto\n\tt/TvYvXFjVT68e4HkrFjwIN6d0jQfqlEdC8cQTB7BZ7sywg6nu38lZOL9G+8pQJf0tA6\n\tZhBgmktpb3nkUCP2qOV7SXN9BJZG2DXIGXXY5nLngGOQXFAk9SiR5AKF8p0G+jUerBC8\n\to0NXSyUTYYiki1kxh6ua27GobKv7jUnprxq4zwTBWww3QNOkoC2DJADLcHcsjJNWuHP8\n\teqEKxPa87wnL1iCoMliQ3ArHuAlTR2SfhweYHHWjdADvo75vjK823wrKNmndyTYj6M5C\n\tyAZQ==","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=rrgKLaa8pSzKytYP1BGVLaKa3aqG3MudcNFkUP3E1vw=;\n\tb=MP1FMpaREi2Rc5owjSKqITWcaGid7rc2T0zVtuTm4ysufjEr9gkL+4kzba6hOU8c3g\n\twU8UjA0yOgvB0stkbN58LPILzcBeBEBlF3LkyVcqT7A4W7fXEHXqWbwsnvMrtpJQvcaV\n\t4p/2fbU2Ve6JEuPJqd3ISfzpwOlLE3bUWNHcQ="],"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=rrgKLaa8pSzKytYP1BGVLaKa3aqG3MudcNFkUP3E1vw=;\n\tb=U1cjcxbdsb3MslF6HpnjjOfu70b/rAe4En72jXRmv3xAquJAmz/0pEpxsrf1Xq/2WW\n\thZnWoCs8lgnOkv9IK6Fqodd6MY7gJ6rDlY6J8qMbqNWWZL/812R+Mu/zniKLCLcRRTGH\n\tFTKTaKQMImJB1g57j2MqByVNHTpjE/S/NZFFavGjJKvkdNQ2ULikyFj0/fKaj1YULxK8\n\tVBL4VdldVtpWGI44kU3GpXvSqjkcnQMperk0mtcm4MQGMAcEpdIoIke8OBN+Wh626koZ\n\tlABwTU9ug2M/3N5UfNwizy0OmMwYcuP4386DohUCAXsURCU9AwO1I4BYq/JIsx+2QUxO\n\tQowg==","X-Gm-Message-State":"AHPjjUihIwLDINwzTR5oWUZFHE4ENhz6J2x7zjqCUwbiQLLfx11tcRFp\n\t/lfhh0P5V4UlwCkKyikHCPdgXwAQv9GJbzodw3JJKg==","X-Google-Smtp-Source":"AOwi7QD33GO00uA6bLccHoCptGR1pj27+BLIkh/pkJxn0zaSZfnkXWrzW4A1/ntkScx4Q3XYRcGCamv3jdPiOtmOooQ=","X-Received":"by 10.200.23.252 with SMTP id r57mr21805459qtk.76.1505219364989; \n\tTue, 12 Sep 2017 05:29:24 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170909104746.5948-4-robdclark@gmail.com>","References":"<20170909104746.5948-1-robdclark@gmail.com>\n\t<20170909104746.5948-4-robdclark@gmail.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Tue, 12 Sep 2017 06:29:04 -0600","X-Google-Sender-Auth":"GCACB33W5qOYemMmfMJqkJM-yZM","Message-ID":"<CAPnjgZ3LVdxMxHtT0xvjiHF0OQFMok6R3Fv22Y6uNwcSXmrWiw@mail.gmail.com>","To":"Rob Clark <robdclark@gmail.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>, Stefan Roese <sr@denx.de>,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>","Subject":"Re: [U-Boot] [PATCH v2 3/5] vsprintf.c: add UTF-16 string (%ls)\n\tsupport","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":1767481,"web_url":"http://patchwork.ozlabs.org/comment/1767481/","msgid":"<20170913022838.GJ4474@bill-the-cat>","list_archive_url":null,"date":"2017-09-13T02:28:38","subject":"Re: [U-Boot] [U-Boot, v2,\n\t3/5] vsprintf.c: add UTF-16 string (%ls) support","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:41AM -0400, Rob Clark wrote:\n\n> This is convenient for efi_loader which deals a lot with UTF-16.  Only\n> enabled with CC_SHORT_WCHAR, leaving room to add a UTF-32 version when\n> CC_SHORT_WCHAR is not enabled.\n> \n> Signed-off-by: Rob Clark <robdclark@gmail.com>\n> Reviewed-by: Simon Glass <sjg@chromium.org>\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=\"n4Wy6esi\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsQlT2wfmz9t30\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 12:36:21 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 22D46C22369; Wed, 13 Sep 2017 02:31:51 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 29F53C22356;\n\tWed, 13 Sep 2017 02:30:59 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid AF466C22373; Wed, 13 Sep 2017 02:28:47 +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 22365C22369\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 02:28:43 +0000 (UTC)","by mail-yw0-f171.google.com with SMTP id r85so32104413ywg.1\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 19:28:43 -0700 (PDT)","from bill-the-cat ([2606:a000:140b:dc:202f:e2cf:a300:56c])\n\tby smtp.gmail.com with ESMTPSA id\n\tg10sm4409077ywl.54.2017.09.12.19.28.40\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tTue, 12 Sep 2017 19:28:40 -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=VroTteSHlBKlZZq4qclwkqOgSS03xjaC4C+0BisxYmA=;\n\tb=n4Wy6esit2rL9Ual8655YkV6oYsv6Cm8Ab4KVDp6WD8/3znBS7T3cP0m6dBsgAXczX\n\tfx/57HYSi/JB7vwDoAUcIDUMgW91wOf7X0Jl4WfcqPeL2xOUBjITgv6X2crKlRrnF0jN\n\tP6DdFmxMW7VreBCElyX2FyvVGwCr4K1wNzMOw=","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=VroTteSHlBKlZZq4qclwkqOgSS03xjaC4C+0BisxYmA=;\n\tb=gAwPjxyBhbv1hmnQWl8vwCdKZJVKEIpBxpndS8yEj8AT8MxKz9CMBSOaG4Zm2zVwPV\n\trQtURbA3+CmCv+6EQ1qyARUrcSjBjNuJFi1rC3ARqB0evP5+9AE/x2rnMAxeDayW3STK\n\tJhnFEj5oiX0Uc1cAO8y/KAti/Sxf/yw5g6Z+3EpJHe9py0mlX8a3u9Z/ZTxokzJYiDzk\n\tYJHRxGGl8AGaDo72JFsGssLfbBafAxFcJalshx2kwqSMMdhiotlE4rtYg6fqjAYxS6/4\n\tSKBVIehRiNIlraa1lNFFiJ0qQGfHJTTKZLz33fu743X9Bj8QKPIuWIcmgcbUX29IvwYF\n\tPkWg==","X-Gm-Message-State":"AHPjjUiWguDXobD9+ly5ea5G2aYhphW0wtykzUteGZSDzM7hvUBvu0zY\n\t83cjflG2mEzseMJ/","X-Google-Smtp-Source":"AOwi7QDzE4sPAaeXmp8APdOcyWFldyv63+HARwmuvOccEitLxymEmZeK2m3fULYZDn+JH/6jfqxQaQ==","X-Received":"by 10.37.98.139 with SMTP id w133mr13869982ybb.333.1505269722024;\n\tTue, 12 Sep 2017 19:28:42 -0700 (PDT)","Date":"Tue, 12 Sep 2017 22:28:38 -0400","From":"Tom Rini <trini@konsulko.com>","To":"Rob Clark <robdclark@gmail.com>","Message-ID":"<20170913022838.GJ4474@bill-the-cat>","References":"<20170909104746.5948-4-robdclark@gmail.com>","MIME-Version":"1.0","In-Reply-To":"<20170909104746.5948-4-robdclark@gmail.com>","User-Agent":"Mutt/1.5.21 (2010-09-15)","Cc":"U-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,\n\t3/5] vsprintf.c: add UTF-16 string (%ls) support","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=\"===============8371726685404056430==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]