From patchwork Sat Jun 15 17:21:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1116443 X-Patchwork-Delegate: xypron.glpk@gmx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="Yq08DnEV"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45R4646yGwz9sDX for ; Sun, 16 Jun 2019 03:22:04 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 81E68C21F91; Sat, 15 Jun 2019 17:22:02 +0000 (UTC) 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, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0DBEAC21F0C; Sat, 15 Jun 2019 17:22:00 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A7603C21F0C; Sat, 15 Jun 2019 17:21:58 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lists.denx.de (Postfix) with ESMTPS id 5F01AC21E96 for ; Sat, 15 Jun 2019 17:21:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560619314; bh=RWIV//3oXs9pBcjCEia6SYaeDYRxolw0dA8X/Zg11qs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Yq08DnEVhjlOBSWtFfuRm3p2eVXUEBc6yFmPz3VfUASV7QMJRxByPZqG6wL2XKz0M udkJAqCn+tLTe9f36s804JAskSRSZoVR1pXQbwSlvyFnxumQUDW/Tvxf7tGwyHMm+p +ImZunfiQbRrjmOeM3/UORrP03ayfgeoZs92kb4s= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([84.118.159.3]) by mail.gmx.com (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id 0MVui8-1i9Eug39h2-00X1yz; Sat, 15 Jun 2019 19:21:54 +0200 From: Heinrich Schuchardt To: Alexander Graf Date: Sat, 15 Jun 2019 19:21:50 +0200 Message-Id: <20190615172150.12173-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:VHmYr4LED8IMMBTU8WFEpcWWCUSGd/HyG9eXwVg90HhsyQP7fo5 CMXi0bR9rNy1hxlOJMufGkj9+YfPqClzNeutz1b4H0ISliEE1cqElDmp6WjD/BgJQPxuDX7 VJQUjo0b0ruamqGEzZkW8L5duVAHjq/QjgqrEyfMG535DL0wRINL9GXNg+bb3v+pH/+uj+J Or96dMevxilbxfNrpqMEQ== X-UI-Out-Filterresults: notjunk:1; V03:K0:I1+6iiczkCY=:jg60+ZiJ+2RCBsGQfTPr1n 6+HTNfCw8+LfbzuU4cFpeorkfDPNF+1+WokIeCuSCFKcChioJlKtjCRcrt1L9oJfNlzuK4GDm /BWjGEl/UYmG8CVD0you8QX1hfXVgLUFWQedAslSxn/e3angivY790U/qkPoCRszFtkjIa/uz ryZOEMh6NhG/UlB2FXuCZuJSsPhGXb/wnAIJMCuzD4wDHXRFrS/tA3+APD4M0sy764KU1PtM1 j98Gvyk8aSURRuNx02tanXmgmwNKoxf5sW0GIEgfi+yED6iV6JEtl//vrNuIjA8lkMi2qjt5I jtud+pt5MfTgDB7VyFRE768135uXohJAWkg26EmrzwBFj4SaiAq5kXvJhSYpi7t/JKvTC4dj7 96cn5cE7hWaYpUv4hMvbM0GObXKHDdCg9Zml/P3mGNd7i5nlVXg2f4RIbCNe1DIZ0PQ+K+gfI kur3uNyECapODsaHP/FND0LxY3xYseGAdZptXRrwhBRv2WGfAPlZ0euYwh8vp/8eMbPey61hl lHM6epuHTwjWcgJ6HDEc6xQV+PeBujboyGoRpoWnbW3X/DKrDotNQcZy3TLDUWbLlsLPl3g5z Y5EsUg2jT9iFr9nbqpG5YBj4OAn8zqvh7aNyiOsv5OXYvcNNZOniXHLdENs5Wl3iP1/Vcd5UL y75bkcgbNybKPHhlkOzzegvBqXVbnm44d5ZAkded8ePmJVVW18cx1XryPbQV4ymQ0XeDDClZz zx4s/d7RbGt2HOns0ktCcasboeNfefMqmlaQXnxXOT4no9fbV0Cj3gvdoMypBrXr/pNM4PHJa MMO6vK+W2wo8zC+a4u8Q3Ep/dVW/EfV3CqRYxbsaw/8xEWB/8P7psvpIo8mNyPNBIspYuGF18 YK9MReGwS1LGF4m5nXhWUOFNMa1nid9uSBk4as+7QNHLWdEZZDUDhqjzUuk2uC3V+dM49tALt D/T1MxLoT2D9dGAfRsapP64yuKHtK34A= Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: [U-Boot] [PATCH 1/1] efi_loader: system table setup X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" When setting up the system table avoid superfluous void * conversions. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.20.1 diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index b26291b919..d104cc6b31 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -3620,11 +3620,11 @@ struct efi_system_table __efi_runtime_data systab = { }, .fw_vendor = firmware_vendor, .fw_revision = FW_VERSION << 16 | FW_PATCHLEVEL << 8, - .con_in = (void *)&efi_con_in, - .con_out = (void *)&efi_con_out, - .std_err = (void *)&efi_con_out, - .runtime = (void *)&efi_runtime_services, - .boottime = (void *)&efi_boot_services, + .con_in = &efi_con_in, + .con_out = &efi_con_out, + .std_err = &efi_con_out, + .runtime = &efi_runtime_services, + .boottime = &efi_boot_services, .nr_tables = 0, .tables = NULL, };