{"id":811942,"url":"http://patchwork.ozlabs.org/api/patches/811942/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170909104746.5948-2-robdclark@gmail.com/","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":"<20170909104746.5948-2-robdclark@gmail.com>","list_archive_url":null,"date":"2017-09-09T10:47:39","name":"[U-Boot,v2,1/5] kbuild: Enable -fshort-wchar","commit_ref":"4a85663ec7eddd955d22f1b0f34a9708eac82314","pull_url":null,"state":"accepted","archived":false,"hash":"73a7d8dbcd4014e0568bfb31e99cb9d19bddc4e2","submitter":{"id":18760,"url":"http://patchwork.ozlabs.org/api/people/18760/?format=json","name":"Rob Clark","email":"robdclark@gmail.com"},"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/20170909104746.5948-2-robdclark@gmail.com/mbox/","series":[{"id":2341,"url":"http://patchwork.ozlabs.org/api/series/2341/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2341","date":"2017-09-09T10:47:38","name":"vsprintf and short-wchar","version":2,"mbox":"http://patchwork.ozlabs.org/series/2341/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/811942/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/811942/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\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"nJa4nFtn\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xq9sB0Jk4z9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  9 Sep 2017 20:48:29 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid B91AFC21EFF; Sat,  9 Sep 2017 10:48:13 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id C5B83C21F03;\n\tSat,  9 Sep 2017 10:48:05 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid BA480C21E0E; Sat,  9 Sep 2017 10:48:02 +0000 (UTC)","from mail-qk0-f194.google.com (mail-qk0-f194.google.com\n\t[209.85.220.194])\n\tby lists.denx.de (Postfix) with ESMTPS id BA664C21E1D\n\tfor <u-boot@lists.denx.de>; Sat,  9 Sep 2017 10:47:58 +0000 (UTC)","by mail-qk0-f194.google.com with SMTP id c69so2869517qke.5\n\tfor <u-boot@lists.denx.de>; Sat, 09 Sep 2017 03:47:58 -0700 (PDT)","from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\tv11sm2678766qti.95.2017.09.09.03.47.56\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSat, 09 Sep 2017 03:47:56 -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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=Ye9vyaG9ofBARQ9zZtGL5DV5m7Uv2rj8DenML+uFhkg=;\n\tb=nJa4nFtnUBQYf5GRv+5VpNfNsE0L0q9JlqFQtXNUdVg/AGKXswdSlYu9tyuV92MngW\n\tkRTqk/vk0pzMGIY2Xo2nm+omE3shJspYzg0UEb9/ZHjnrWu3dE72pGdXBCMiW/oQZfBY\n\tQeQAvxZuf21tZqaIfpWaECtEKcqfdUr46ZCDGwLGbdsMRRYmS4dNUwaLC/aqoBhoI7WP\n\t9ilI4NrV1BUssd4rgvoN5IaAHjzw3Qu15TXXcOQohfXP54SboaTlpqgLOLQdQPg3sHgR\n\tVeuqyEhRRqk/hEo9ADuVRAzneatMeFFQm0pxR9R2HiBZMLEofkxmh0PYiBdU9Wu2g+7m\n\ttehg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=Ye9vyaG9ofBARQ9zZtGL5DV5m7Uv2rj8DenML+uFhkg=;\n\tb=AjXpVabwt8qJGZDN/mzrF55vuvBKPQvChgYGIjKpIizSkvnx0ktaHvPV6TLEGsmyvR\n\tn6jjNzXnrOgRtQ5jr7kjt3BnT3oJTZRpjRYFw9bhXvrKvBmq0pvbsggsYS4tJhGy9eyD\n\tr0vTiL8YT1Ys5+bZebCGo/eP6RxLbQS+PBIsKWeEg4+FaWSjRSfpZcURiCRIyT1VKEeo\n\tW85lrrvhJpKy2HE7a26dEOwrdlbI5ll3vsYUqBA7SK6LmuQDqhU/DHhKXitbQrn9yFzL\n\tW1KKr4VkuRtvALP0nrmXYp2eM5JogZUjysLM3CN4gumKGTXBSqdqw6ZEYzWFTvD31Pou\n\t/aFw==","X-Gm-Message-State":"AHPjjUjwAUB3j99gqT3nNrM0on4zYewd6iEXP6HIiEnpJpaf1woIXG+7\n\tMifcLtECHF9gwGmqsn0=","X-Google-Smtp-Source":"AOwi7QB2AE7Q27Lmv+XxTFwB4oa8Esa7z/HzEwXikNmOzzDTT8ue34oCV/ZfazdeoU2m4zFNqLojsA==","X-Received":"by 10.55.181.129 with SMTP id e123mr8124393qkf.128.1504954077410;\n\tSat, 09 Sep 2017 03:47:57 -0700 (PDT)","From":"Rob Clark <robdclark@gmail.com>","To":"U-Boot Mailing List <u-boot@lists.denx.de>","Date":"Sat,  9 Sep 2017 06:47:39 -0400","Message-Id":"<20170909104746.5948-2-robdclark@gmail.com>","X-Mailer":"git-send-email 2.13.5","In-Reply-To":"<20170909104746.5948-1-robdclark@gmail.com>","References":"<20170909104746.5948-1-robdclark@gmail.com>","Cc":"Heinrich Schuchardt <xypron.glpk@gmx.de>,\n\tAndre Przywara <andre.przywara@arm.com>, \"Cooper Jr.,\n\tFranklin\" <fcooper@ti.com>","Subject":"[U-Boot] [PATCH v2 1/5] kbuild: Enable -fshort-wchar","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":"EFI_LOADER really wants UTF-16 strings (ie. %ls and L\"string\" are 16bit\nchars instead of 32bit chars).  But rather than enabling -fshort-wchar\nconditionally if EFI_LOADER is enabled, it was deemed preferrable to\nglobally switch.\n\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n Makefile | 1 +\n 1 file changed, 1 insertion(+)","diff":"diff --git a/Makefile b/Makefile\nindex 5bb3b09115..d635de12ab 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -360,6 +360,7 @@ KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__\n KBUILD_CFLAGS   := -Wall -Wstrict-prototypes \\\n \t\t   -Wno-format-security \\\n \t\t   -fno-builtin -ffreestanding\n+KBUILD_CFLAGS\t+= -fshort-wchar\n KBUILD_AFLAGS   := -D__ASSEMBLY__\n \n # Read UBOOTRELEASE from include/config/uboot.release (if it exists)\n","prefixes":["U-Boot","v2","1/5"]}