]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
efi_loader: attribute EFIAPI of efi_locate handle()
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Wed, 9 Aug 2017 18:55:00 +0000 (20:55 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 11 Aug 2017 08:57:10 +0000 (10:57 +0200)
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 <xypron.glpk@gmx.de>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c

index 59479eddb9d877d8d27ca026262db725ff04229d..58cd6d0e894f4f1f359acac95f76b53f383c8116 100644 (file)
@@ -611,7 +611,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)