{"id":2225378,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2225378/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260420220321.71147-4-heinrich.schuchardt@canonical.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/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":"<20260420220321.71147-4-heinrich.schuchardt@canonical.com>","list_archive_url":null,"date":"2026-04-20T22:03:20","name":"[v2,3/4] efi_loader: correct efi_binary_run_dp() return value","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"d468924308801183a8b1df183c6c40904ea417b9","submitter":{"id":82181,"url":"http://patchwork.ozlabs.org/api/1.2/people/82181/?format=json","name":"Heinrich Schuchardt","email":"heinrich.schuchardt@canonical.com"},"delegate":{"id":68728,"url":"http://patchwork.ozlabs.org/api/1.2/users/68728/?format=json","username":"xypron","first_name":"Heinrich","last_name":"Schuchardt","email":"xypron.glpk@gmx.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260420220321.71147-4-heinrich.schuchardt@canonical.com/mbox/","series":[{"id":500692,"url":"http://patchwork.ozlabs.org/api/1.2/series/500692/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=500692","date":"2026-04-20T22:03:17","name":"efi_loader: centralize messaging for efi_init_obj_list","version":2,"mbox":"http://patchwork.ozlabs.org/series/500692/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2225378/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2225378/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=lWFWpSnn;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=canonical.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.b=\"lWFWpSnn\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=pass (p=reject dis=none)\n header.from=canonical.com","phobos.denx.de; spf=pass\n smtp.mailfrom=heinrich.schuchardt@canonical.com"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzzz261sYz1yD8\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 08:03:58 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 05014844D6;\n\tTue, 21 Apr 2026 00:03:37 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id C250084485; Tue, 21 Apr 2026 00:03:33 +0200 (CEST)","from smtp-relay-canonical-0.canonical.com\n (smtp-relay-canonical-0.canonical.com [185.125.188.120])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 213CE844C7\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 00:03:29 +0200 (CEST)","from LT03.fritz.box (ip-176-199-115-125.um44.pools.vodafone-ip.de\n [176.199.115.125])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 3B48340D86;\n Mon, 20 Apr 2026 22:03:28 +0000 (UTC)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1776722608;\n bh=UsVES2WRDWRsaZU2s7OBoi8bSxA76ph0jeqfO8CKmA0=;\n h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n MIME-Version;\n b=lWFWpSnnr9QHUaJhOINSvjYk7mZglyTiivwlC7lJGMW2BdnTUNCN4aIL2VgTD2kaC\n yTwqiyQvExGj5BhUKG1+MvNEBIfA7SLblaegmFuEAPUVz8nfQ/G3+/MFGn00VZnL01\n UBoax5hFTfCqAmQ6HYe/mFc2Q5fngHUltv0TNuCeWoQfclrCZCSHnPOplwKF7W0nXz\n /JvsXsoT8b6okebyx01Tbvyr1F0WLduOKMdqivUAGh/m9UYTIXFFGYgO7NvoFphBdy\n o8318pJgLNlNuieT46sUeRtk8rq/YEy3mXo+QD5WXoSn47SkRELLaVYpkcGr+Fo5I9\n LTkbsOv7lfOyEACP9fZZRDGALD82jAOohyAf9+9401KHexJRCpGAn3JQ6lERvqfR0K\n ln7tBNo8zJ9bz+RTRACopEkO7/30yBA6+yoU31uuQepdrFWQCX/McbrTkXccqyCwuX\n sXe4/dF3aCdt9zIvghv6gGOfXOslfY3tX3/6S0IlGaayTg+pl0jcasXrCdh+GjI8fU\n 1FxCMaybfqxCjB51axOtJrSyrKlzpwBmClC1YOymIbEP4UhfYOlF5pX2OmTHZFx/F+\n UHKiugmszTqkKgDfN9efnDv5T5IPsl+mIf+P/QhDP+ii/ilnYy+2OXE5/B/yiyoNi8\n 580toXMpvb4/L/bQoaSgr7uw=","From":"Heinrich Schuchardt <heinrich.schuchardt@canonical.com>","To":"Ilias Apalodimas <ilias.apalodimas@linaro.org>","Cc":"Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,\n Mark Kettenis <kettenis@openbsd.org>,\n Patrice Chotard <patrice.chotard@foss.st.com>, Peng Fan <peng.fan@nxp.com>,\n Christian Marangi <ansuelsmth@gmail.com>,\n Sughosh Ganu <sughosh.ganu@arm.com>,\n Casey Connolly <casey.connolly@linaro.org>,\n =?utf-8?q?Vincent_Stehl=C3=A9?= <vincent.stehle@arm.com>,\n Adriano Cordova <adrianox@gmail.com>,\n Wolfgang Wallner <wolfgang.wallner@at.abb.com>,\n Martyn Welch <martyn.welch@collabora.com>, Javier Tia <floss@jetm.me>,\n Ying-Chun Liu <paul.liu@linaro.org>,\n AKASHI Takahiro <akashi.tkhro@gmail.com>, u-boot@lists.denx.de,\n Heinrich Schuchardt <heinrich.schuchardt@canonical.com>","Subject":"[PATCH v2 3/4] efi_loader: correct efi_binary_run_dp() return value","Date":"Tue, 21 Apr 2026 00:03:20 +0200","Message-ID":"<20260420220321.71147-4-heinrich.schuchardt@canonical.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260420220321.71147-1-heinrich.schuchardt@canonical.com>","References":"<20260420220321.71147-1-heinrich.schuchardt@canonical.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://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 <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"efi_binary_run_dp() is expected to return an efi_status_t value.\n\nReported-by: Simon Glass <sjg@chromium.org>\nFixes: 6422820ac3e5 (\"efi_loader: split unrelated code from efi_bootmgr.c\")\nSigned-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>\n---\nv2:\n\tnew patch\n---\n lib/efi_loader/efi_bootbin.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/lib/efi_loader/efi_bootbin.c b/lib/efi_loader/efi_bootbin.c\nindex b394f0d60ce..144266b785f 100644\n--- a/lib/efi_loader/efi_bootbin.c\n+++ b/lib/efi_loader/efi_bootbin.c\n@@ -227,7 +227,7 @@ static efi_status_t efi_binary_run_dp(void *image, size_t size, void *fdt,\n \tif (ret != EFI_SUCCESS) {\n \t\tlog_err(\"Error: Cannot initialize UEFI sub-system, r = %lu\\n\",\n \t\t\tret & ~EFI_ERROR_MASK);\n-\t\treturn -1;\n+\t\treturn ret;\n \t}\n \n \tret = efi_install_fdt(fdt);\n","prefixes":["v2","3/4"]}