{"id":805990,"url":"http://patchwork.ozlabs.org/api/patches/805990/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170825175314.822-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":"<20170825175314.822-1-xypron.glpk@gmx.de>","list_archive_url":null,"date":"2017-08-25T17:53:14","name":"[U-Boot,1/1] efi_loader: call __efi_exit_check in efi_exit","commit_ref":"da94073b42cad349879ae5741e0b0fb3ac59a067","pull_url":null,"state":"accepted","archived":false,"hash":"6eb50fe061b0044843a4b4559e24f2cd29370626","submitter":{"id":61270,"url":"http://patchwork.ozlabs.org/api/people/61270/?format=json","name":"Heinrich Schuchardt","email":"xypron.glpk@gmx.de"},"delegate":{"id":3400,"url":"http://patchwork.ozlabs.org/api/users/3400/?format=json","username":"agraf","first_name":"Alexander","last_name":"Graf","email":"agraf@suse.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170825175314.822-1-xypron.glpk@gmx.de/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/805990/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/805990/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 3xf80Y1kW2z9sPk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 26 Aug 2017 03:53:31 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid DEA41C21FAB; Fri, 25 Aug 2017 17:53:26 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 021F0C21FA3;\n\tFri, 25 Aug 2017 17:53:24 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 09CF8C21FA2; Fri, 25 Aug 2017 17:53:22 +0000 (UTC)","from mout.gmx.net (mout.gmx.net [212.227.17.22])\n\tby lists.denx.de (Postfix) with ESMTPS id 7C8D8C21FA1\n\tfor <u-boot@lists.denx.de>; Fri, 25 Aug 2017 17:53:22 +0000 (UTC)","from localhost.localdomain ([84.118.154.110]) by mail.gmx.com\n\t(mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id\n\t0MPqtK-1dqGry440Y-0051eW; Fri, 25 Aug 2017 19:53:21 +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":"Alexander Graf <agraf@suse.de>","Date":"Fri, 25 Aug 2017 19:53:14 +0200","Message-Id":"<20170825175314.822-1-xypron.glpk@gmx.de>","X-Mailer":"git-send-email 2.14.1","X-Provags-ID":"V03:K0:oNESAPvFmvEy0cy0JtxP0bqBTjy6bNatoASY7bgxabbM0jtMmgT\n\t5ku8gLk5O+hEFuWXXmxhLEHMswRlXj7FVmXvGR/tiWnNWG1znnQVUm0TeXXgnFSyu/saixI\n\tl3P+moBdk/q+crYq36GmnpimYxzANNyEIasXJxZPCggV9F/sSTYuVNyUoyPNLdcIQ1K4A8B\n\tCBeDMMeUMfHpWGr4jQncA==","X-UI-Out-Filterresults":"notjunk:1; V01:K0:COdX3YaDcm8=:Yd/ij7JEiuYmBlp8HHBJb0\n\ti631R1oH1Z0Tp1IQo+SRmaeTTVR6ZsCMdheW74jTzwDFBodeOrYSGmwRHOBSXmNoATl5nQ5+Y\n\tKb5NEPEEyRLDUXtSWC6RBY1HTnDFgD2YI8z/RPIqlYZgja0lsNZ/wM0XH2pE4nOtVAYx0v55p\n\t6GvlVL+/oE6DSLjVBfZhjDOdnjVvc2lUJcte1pgfEpn4VjFmSg5qedSUtpzrFnykNbljFGedn\n\tLJzcRvJ1ucAK2ywXAl3r9Y0ZTUFq6Rp6+jN0coebKRRiywMVBqiMU4i9tgdDUOqRCmayzZmT+\n\tNF7ZSZXJA9ZjZJk9YlRmB2UkqAIavxh8G5sMSJY6wadffnlFI8n6NTqZx7wOJNRU/Y4tsJxse\n\tM2fOkquZXAI+aYPSCIxg+MJ/11E+l70Oqo3TuWSeOdQbK/LaVa5lndzxUq+YHCPJrgfOu56rA\n\tL3dkie8UcAYT47hNQd1ibBZoppcoNXhCzQ75QUTCrDrnQYleT1+IDx39cXJ39cD7yF1DRfSDH\n\tv0lFMma912Ya4M9XFGcw6flGscYIvZgACZ3P+N+ix8tF/dctD7tbBPehusOkr9hy9MbkNPP6z\n\tfyPxeMzQ/COkHZCrIX+zF9J9N++HzdGnUBYTc7RTm2v5wZKDSCUzap1+ukHURnvS87vkZbhwL\n\t9Q4++3udEhbEUUlTZC+bzazdXxPf5YeflPCyenjlVHF1XiskXU5AesxGulqYgdv9HDXxGbrBY\n\thd8pMNOEu6BeBxtnUelIKmQdB7pKX9hoipuDgHA+LuNY4Gp0lz9dhljjySYFe+2DF6ameWYjl\n\thbazxKAu4Y9GQD9WJkfIbA0IbiUyQ==","Cc":"u-boot@lists.denx.de, Heinrich Schuchardt <xypron.glpk@gmx.de>","Subject":"[U-Boot] [PATCH 1/1] efi_loader: call __efi_exit_check in efi_exit","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 calls to __efi_entry_check and __efi_exit_check have to match.\nIf DEBUG is defined, panic() will be called otherwise.\n\nIf debugging is activated some Travis CI builds fail due to an\nassertion in EFI_CALL without the patch.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n lib/efi_loader/efi_boottime.c | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c\nindex 5444b32530..ef3ae05126 100644\n--- a/lib/efi_loader/efi_boottime.c\n+++ b/lib/efi_loader/efi_boottime.c\n@@ -828,6 +828,8 @@ static efi_status_t EFIAPI efi_exit(efi_handle_t image_handle,\n \tEFI_ENTRY(\"%p, %ld, %ld, %p\", image_handle, exit_status,\n \t\t  exit_data_size, exit_data);\n \n+\t__efi_exit_check();\n+\n \tloaded_image_info->exit_status = exit_status;\n \tlongjmp(&loaded_image_info->exit_jmp, 1);\n \n","prefixes":["U-Boot","1/1"]}