Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/956557/?format=api
{ "id": 956557, "url": "http://patchwork.ozlabs.org/api/patches/956557/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180811152820.26817-2-xypron.glpk@gmx.de/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "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": "<20180811152820.26817-2-xypron.glpk@gmx.de>", "list_archive_url": null, "date": "2018-08-11T15:28:06", "name": "[U-Boot,01/15] lib: build charset.o only if needed", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "5f4b24ec498185bfd924f6a038be2ea9313a72a4", "submitter": { "id": 61270, "url": "http://patchwork.ozlabs.org/api/people/61270/?format=api", "name": "Heinrich Schuchardt", "email": "xypron.glpk@gmx.de" }, "delegate": { "id": 3400, "url": "http://patchwork.ozlabs.org/api/users/3400/?format=api", "username": "agraf", "first_name": "Alexander", "last_name": "Graf", "email": "agraf@suse.de" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20180811152820.26817-2-xypron.glpk@gmx.de/mbox/", "series": [ { "id": 60397, "url": "http://patchwork.ozlabs.org/api/series/60397/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=60397", "date": "2018-08-11T15:28:06", "name": "efi_loader: EFI_UNICODE_COLLATION_PROTOCOL", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/60397/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/956557/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/956557/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>)", "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=gmx.de" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 41nm9n2HzLz9sBD\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 12 Aug 2018 01:28:56 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 98C78C21E60; Sat, 11 Aug 2018 15:28:50 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id B723FC21C8B;\n\tSat, 11 Aug 2018 15:28:46 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid F0B72C21C51; Sat, 11 Aug 2018 15:28:44 +0000 (UTC)", "from mout.gmx.net (mout.gmx.net [212.227.17.20])\n\tby lists.denx.de (Postfix) with ESMTPS id 8DA0EC21C51\n\tfor <u-boot@lists.denx.de>; Sat, 11 Aug 2018 15:28:44 +0000 (UTC)", "from LT02.fritz.box ([88.152.14.153]) by mail.gmx.com (mrgmx102\n\t[212.227.17.174]) with ESMTPSA (Nemesis) id 0LzHZ7-1g1h962wXR-014QGs;\n\tSat, 11 Aug 2018 17:28:41 +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.0 required=5.0 tests=FREEMAIL_FROM\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>", "To": "Alexander Graf <agraf@suse.de>", "Date": "Sat, 11 Aug 2018 17:28:06 +0200", "Message-Id": "<20180811152820.26817-2-xypron.glpk@gmx.de>", "X-Mailer": "git-send-email 2.18.0", "In-Reply-To": "<20180811152820.26817-1-xypron.glpk@gmx.de>", "References": "<20180811152820.26817-1-xypron.glpk@gmx.de>", "X-Provags-ID": "V03:K1:8of3sgBAgYir1z49azKG5PvBiiDdZeTIHmrWqDr8s846o7ctCAZ\n\taUVUxiQuO0bkLevEKMsk8XDTCSEXVObjDT4XlWiGjv2S6dPzq1vDy5NuZwaygvHA7jSElCe\n\tajNohflks6TRKKlxGMvCZan7D8FBa8HmOyE+dCQufgXxsaOJIFsJLR542mzSTk/ldIldIry\n\tTn7a//PVHVfQ6lTdTFc8A==", "X-UI-Out-Filterresults": "notjunk:1; V01:K0:uWPRRCAkcYk=:xIa8nQEp8wNolDgtuG7hdD\n\t33++ea9ydKU1XuBkWsfVi+tr+0UvKaZuz7RTq0UivL3J5QNulTcNUTDAoOSLUrHaZVsB4qWL9\n\t0lPl65v3XY4DlB36fTg3PWs9VEY4GQzRYC+if4JaB7Ce5pKXxos3xru8t2FHPEY3Z4vn+7ujC\n\tHsasp90VtdJrGsNegwOtiUI06pEPqXqSvv9nM0JMa8R01EKxHo6N1c65K27DMic7OFTbq53Zk\n\tXBwEwGbUKuzoHV7/rDso4FbbuaQdf8TdlxB5Ij24RPrOkscMRNmqSs2JvV07TaNGPWUalNxUk\n\tL7oqzo8XHZL2BpMR7a3lStkFB9fgXCjhmFXYa7TvNBZ7uoCzHPk7ei59fN5Gzea1GyJpxYINv\n\ttPcbZq8GKrm1C++ubRJgr+iEAzQfvypZFSEVHlmfHUEbrbNcps5iQn+u+uwogXBYzJknn5/R4\n\tjiEh60HNrXVR2uNBFseS8A3uyj4UHgdMpwyWPQQmBBqn9mhUJskEEVhP2fYHkzfaujgQY9HXo\n\taKHvN6cADFLNVTo/6O1UTG7iYyjn6dAXcj3z/MIJe6Kkk4XhIQKO3S8NB/5bvBtopHDawOO66\n\tkNG2i8wKFi2P60N11chZzAv6p4oPSHN4JwE9SNvte6TilPnm/tHX1RLXCvcW6AKWvXeng9qZN\n\t7D6+6//RVbjonvGieuj9hLxQRiyGTSPyLlm+p0REeFzU2gVEC4Mc0FbSmrDuWQwB+goBaZDkw\n\tFu9PMFQMGSleOL3jzP7NnjrItJQCERRpnlfwscZ21d7DkFFfjEI/gyqIvuA=", "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>, u-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH 01/15] lib: build charset.o only if needed", "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": "charset.o is only needed for the EFI subsystem\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n lib/Makefile | 5 ++++-\n lib/vsprintf.c | 12 ++++++++----\n 2 files changed, 12 insertions(+), 5 deletions(-)", "diff": "diff --git a/lib/Makefile b/lib/Makefile\nindex 5f583aed37..2fd32798a0 100644\n--- a/lib/Makefile\n+++ b/lib/Makefile\n@@ -19,7 +19,10 @@ obj-$(CONFIG_ARCH_AT91) += at91/\n obj-$(CONFIG_OPTEE) += optee/\n \n obj-$(CONFIG_AES) += aes.o\n-obj-y += charset.o\n+\n+ifndef API_BUILD\n+obj-$(CONFIG_EFI_LOADER) += charset.o\n+endif\n obj-$(CONFIG_USB_TTY) += circbuf.o\n obj-y += crc7.o\n obj-y += crc8.o\ndiff --git a/lib/vsprintf.c b/lib/vsprintf.c\nindex 914fbd30cb..6100357858 100644\n--- a/lib/vsprintf.c\n+++ b/lib/vsprintf.c\n@@ -274,6 +274,8 @@ static char *string(char *buf, char *end, char *s, int field_width,\n \treturn buf;\n }\n \n+#if defined(CONFIG_EFI_LOADER) && \\\n+\t!defined(CONFIG_SPL_BUILD) && !defined(API_BUILD)\n static char *string16(char *buf, char *end, u16 *s, int field_width,\n \t\tint precision, int flags)\n {\n@@ -294,8 +296,6 @@ static char *string16(char *buf, char *end, u16 *s, int field_width,\n \treturn buf;\n }\n \n-#if defined(CONFIG_EFI_LOADER) && \\\n-\t!defined(CONFIG_SPL_BUILD) && !defined(API_BUILD)\n static char *device_path_string(char *buf, char *end, void *dp, int field_width,\n \t\t\t\tint precision, int flags)\n {\n@@ -612,10 +612,14 @@ repeat:\n \t\t\tcontinue;\n \n \t\tcase 's':\n-\t\t\tif (qualifier == 'l' && !IS_ENABLED(CONFIG_SPL_BUILD)) {\n+#if defined(CONFIG_EFI_LOADER) && \\\n+\t!defined(CONFIG_SPL_BUILD) && !defined(API_BUILD)\n+\t\t\tif (qualifier == 'l') {\n \t\t\t\tstr = string16(str, end, va_arg(args, u16 *),\n \t\t\t\t\t field_width, precision, flags);\n-\t\t\t} else {\n+\t\t\t} else\n+#endif\n+\t\t\t{\n \t\t\t\tstr = string(str, end, va_arg(args, char *),\n \t\t\t\t\t field_width, precision, flags);\n \t\t\t}\n", "prefixes": [ "U-Boot", "01/15" ] }