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 <ardb@kernel.org>
This commit is contained in:
Ard Biesheuvel 2020-11-02 10:04:39 +01:00
parent 2f19605986
commit cdec91c034

View File

@ -672,7 +672,7 @@ typedef union efi_tcg2_protocol efi_tcg2_protocol_t;
union efi_tcg2_protocol { union efi_tcg2_protocol {
struct { struct {
void *get_capability; 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_tcg2_event_log_format,
efi_physical_addr_t *, efi_physical_addr_t *,
efi_physical_addr_t *, efi_physical_addr_t *,