[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] efi: Drop __grub_efi_api attribute from shim_lock->verif
From: |
Ard Biesheuvel |
Subject: |
Re: [PATCH 1/2] efi: Drop __grub_efi_api attribute from shim_lock->verify() call |
Date: |
Wed, 28 Jun 2023 17:17:03 +0200 |
On Wed, 28 Jun 2023 at 15:29, Daniel Kiper <daniel.kiper@oracle.com> wrote:
>
> ... because (surprisingly) it uses System V AMD64 ABI on x86-64
> architecture...
>
> Fixes: 6a080b9cd (efi: Add calling convention annotation to all prototypes)
>
> Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
> ---
> include/grub/efi/api.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h
> index 16161e1f0..f3c50ed5d 100644
> --- a/include/grub/efi/api.h
> +++ b/include/grub/efi/api.h
> @@ -1777,7 +1777,7 @@ 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);
> + grub_efi_status_t (*verify) (void *buffer, grub_uint32_t size);
> };
> typedef struct grub_efi_shim_lock_protocol grub_efi_shim_lock_protocol_t;
>
> --
> 2.11.0
>