From patchwork Wed Aug 9 18:55:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 799908 X-Patchwork-Delegate: agraf@suse.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=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xSL7v3Dn2z9s7F for ; Thu, 10 Aug 2017 04:55:55 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id EDD4BC21D90; Wed, 9 Aug 2017 18:55:51 +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.7 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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 BAB08C21C39; Wed, 9 Aug 2017 18:55:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 891D8C21C39; Wed, 9 Aug 2017 18:55:48 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lists.denx.de (Postfix) with ESMTPS id 27205C21C2F for ; Wed, 9 Aug 2017 18:55:48 +0000 (UTC) Received: from workstation4.fritz.box ([84.118.154.110]) by mail.gmx.com (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id 0Ma1pn-1dv7M521gl-00LkzE; Wed, 09 Aug 2017 20:55:46 +0200 From: Heinrich Schuchardt To: Alexander Graf Date: Wed, 9 Aug 2017 20:55:00 +0200 Message-Id: <20170809185500.13669-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.11.0 X-Provags-ID: V03:K0:GTjp7WuX9DhcNcaciSzYvauHOdxV/glyV3E+N4Sxlg+ajYFGMz5 HHytZQqHtppKIVkoaIxYWcaYWLrmPZWao4S+oG1RdFlPReTifDBSoys4NdxrJboxJ6UNalp U5wQ2i0YNuEJr+bCLhrvtDchGkXgl2UuXKbxZVMVBZwwgt430FB3Junp9g0uWQR0sbxeqqY 7XRxt6W/tbpJJEiuNCFtg== X-UI-Out-Filterresults: notjunk:1; V01:K0:hIWaRaekvog=:PjKMNCIzIDwsndwyDUk+2O IWvv9mGFpS0yEamRmngILrB2JPNcavb/jvqlIuvbO+M2ver4xKg6TBrS4p6a5lmOtjqqkX/qF fCWCgNJ/IjvE6mRxrQ3/j7CmKDQIfQMkWPPPcDODlTV0QPStb249AWb4O5X35ezDX86NqXUuw s7HK7QSJtE7lYNS25FHuoXa7BgkgDkudRW0phtgagxz0AnVUROWgMXGMmcHkt7nGMjFH3943T Zh/II/yv7V7LewfoAonTw8eUSVL5WYYbYooAYfVKcdubbo9PjyXK+Z2FTBwEkp8wRdZRZMtM+ V0vAuBtMvSOLo39ByWPqvyEy1y1crmqe+gI5kVGSiwYDv1AX6zfNcM8pqNd+EspSL1l+dF27Z sMr4eJANOCiOraDHUOyS/FBicv2a0jV23oye+D1pvpyv0cNjLE0fhmhhOELUHYDwxrlxoCbuO 7CNoELMQP/t/LDS1Te1l7TR8VQc7YopaSmPI3G2jeDv5gcerD/tIJf/71P0ErU8ZHNcrR1Obd cEgn6fnzeBNoRuNVwGPnC+Y6ud4swlC5BgzcrA2v1bcf9F84DQcyV9MeuxQceKczBMdFj0yi2 C9+aW0XmG4s840S915n9mDnP/smr0BWZq3iNfAqN92mlSPPzrMe/U60sm2duRcg+tR+5jMeDN sd0QyDyLBcVVK9D04or7CPP1Szbg6llj5ErpW0YAwf+OFbhSJhBTmygtw6+aLDtaZ528ZLYi+ N4y9O/sxYLhECgK3UVLZMtcYBWHgoCmD4kjQi87s6stghssVuG/HuNrltIYl+Z9rGELVjy7on RJ5+8t+Wk+ksEr0iWkyH7YoMYMXuw== Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: [U-Boot] [PATCH 1/1] efi_loader: attribute EFIAPI of efi_locate handle() 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" efi_locate_handle is called internally so it should not be marked as EFIAPI. The external function is efi_locate_handle_ext. Signed-off-by: Heinrich Schuchardt Reviewed-by: Rob Clark --- @Alex Please, pull this patch after [PATCH v2] efi_loader: LocateHandle should return EFI_NOT_FOUND if none found https://patchwork.ozlabs.org/patch/798433/ --- lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index b8461582e4..5d4dab3396 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -624,7 +624,7 @@ static int efi_search(enum efi_locate_search_type search_type, return -1; } -static efi_status_t EFIAPI efi_locate_handle( +static efi_status_t efi_locate_handle( enum efi_locate_search_type search_type, efi_guid_t *protocol, void *search_key, unsigned long *buffer_size, efi_handle_t *buffer)