From: Ard Biesheuvel Date: Mon, 2 Nov 2020 09:04:39 +0000 (+0100) Subject: efi/libstub: fix prototype of efi_tcg2_protocol::get_event_log() X-Git-Tag: microblaze-v5.13~196^2~4 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=cdec91c034a2c99331b62a5f417bf7527fa6d490;p=linux-2.6-microblaze.git efi/libstub: fix prototype of efi_tcg2_protocol::get_event_log() efi_tcg2_protocol::get_event_log() takes a protocol pointer as the first argument, not a EFI handle. Signed-off-by: Ard Biesheuvel --- diff --git a/drivers/firmware/efi/libstub/efistub.h b/drivers/firmware/efi/libstub/efistub.h index b50a6c67d9bd..2b7438ba1fbc 100644 --- a/drivers/firmware/efi/libstub/efistub.h +++ b/drivers/firmware/efi/libstub/efistub.h @@ -672,7 +672,7 @@ typedef union efi_tcg2_protocol efi_tcg2_protocol_t; union efi_tcg2_protocol { struct { void *get_capability; - efi_status_t (__efiapi *get_event_log)(efi_handle_t, + efi_status_t (__efiapi *get_event_log)(efi_tcg2_protocol_t *, efi_tcg2_event_log_format, efi_physical_addr_t *, efi_physical_addr_t *,