efi: Drop __grub_efi_api attribute from shim_lock->verify() function

... because (surprisingly) it does not use specific EFI calling convention...

Fixes: 6a080b9cd (efi: Add calling convention annotation to all prototypes)

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
Daniel Kiper 2023-06-30 16:02:14 +02:00
parent d6aac785c0
commit 7082a5ca8a

View File

@ -1777,7 +1777,11 @@ typedef struct grub_efi_block_io grub_efi_block_io_t;
struct grub_efi_shim_lock_protocol
{
grub_efi_status_t (__grub_efi_api *verify) (void *buffer, grub_uint32_t size);
/*
* verify() function (surprisingly) does not use specific EFI calling convention.
* So, it does not need to be tagged with __grub_efi_api attribute.
*/
grub_efi_status_t (*verify) (void *buffer, grub_uint32_t size);
};
typedef struct grub_efi_shim_lock_protocol grub_efi_shim_lock_protocol_t;