{"id":810688,"url":"http://patchwork.ozlabs.org/api/patches/810688/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170906155513.5846-1-xypron.glpk@gmx.de/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170906155513.5846-1-xypron.glpk@gmx.de>","list_archive_url":null,"date":"2017-09-06T15:55:13","name":"[U-Boot,1/1] vsprintf: vsprintf does not have parameter size","commit_ref":"de2de3192fe1bde742d0d83d82f90a1592ec47c6","pull_url":null,"state":"accepted","archived":false,"hash":"b16bf978b01e55c4636b7bea97659355428e73b3","submitter":{"id":61270,"url":"http://patchwork.ozlabs.org/api/people/61270/?format=json","name":"Heinrich Schuchardt","email":"xypron.glpk@gmx.de"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170906155513.5846-1-xypron.glpk@gmx.de/mbox/","series":[{"id":1845,"url":"http://patchwork.ozlabs.org/api/series/1845/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=1845","date":"2017-09-06T15:55:13","name":"[U-Boot,1/1] vsprintf: vsprintf does not have parameter size","version":1,"mbox":"http://patchwork.ozlabs.org/series/1845/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810688/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810688/checks/","tags":{},"related":[],"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>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnSq65qXbz9sNV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 01:55:45 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 36D8CC21F27; Wed,  6 Sep 2017 15:55:39 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 8E123C21E11;\n\tWed,  6 Sep 2017 15:55:37 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 6476FC21E11; Wed,  6 Sep 2017 15:55:35 +0000 (UTC)","from mout.gmx.net (mout.gmx.net [212.227.15.15])\n\tby lists.denx.de (Postfix) with ESMTPS id 1E82CC21DC4\n\tfor <u-boot@lists.denx.de>; Wed,  6 Sep 2017 15:55:35 +0000 (UTC)","from laptop1.fritz.box ([94.197.121.76]) by mail.gmx.com (mrgmx003\n\t[212.227.17.184]) with ESMTPSA (Nemesis) id\n\t0MX1dc-1dvDDa0heO-00W1pf; Wed, 06 Sep 2017 17:55:33 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable\n\tautolearn_force=no version=3.4.0","From":"Heinrich Schuchardt <xypron.glpk@gmx.de>","To":"Tom Rini <trini@konsulko.com>","Date":"Wed,  6 Sep 2017 17:55:13 +0200","Message-Id":"<20170906155513.5846-1-xypron.glpk@gmx.de>","X-Mailer":"git-send-email 2.11.0","X-Provags-ID":"V03:K0:mq80tP8wFhHtH9S23MiQS0tdQyY03XA3CeOKAJUQKa3nBJ6VPFT\n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CT/6VtnTaUuo0\n\tCmUv739mh0hGjmwjvVtiR3HNqeouQ==","Cc":"Vagrant Cascadian <vagrant@debian.org>, u-boot@lists.denx.de,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>","Subject":"[U-Boot] [PATCH 1/1] vsprintf: vsprintf does not have parameter size","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>","MIME-Version":"1.0","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>"},"content":"The inline documentation of vsprintf mentions a parameter size\nwhich does not exist in the function declaration.\n\nint vsprintf(char *buf, const char *fmt, va_list args);\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n include/vsprintf.h | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)","diff":"diff --git a/include/vsprintf.h b/include/vsprintf.h\nindex e38076d22d..490c96ca6d 100644\n--- a/include/vsprintf.h\n+++ b/include/vsprintf.h\n@@ -112,12 +112,10 @@ int sprintf(char *buf, const char *fmt, ...)\n  * Format a string and place it in a buffer (va_list version)\n  *\n  * @param buf\tThe buffer to place the result into\n- * @param size\tThe size of the buffer, including the trailing null space\n  * @param fmt\tThe format string to use\n  * @param args\tArguments for the format string\n  * @return the number of characters which have been written into\n- * the @buf not including the trailing '\\0'. If @size is == 0 the function\n- * returns 0.\n+ * the @buf not including the trailing '\\0'.\n  *\n  * If you're not already dealing with a va_list consider using scnprintf().\n  *\n","prefixes":["U-Boot","1/1"]}