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:
parent
2f19605986
commit
cdec91c034
@ -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 *,
|
||||
|
Loading…
Reference in New Issue
Block a user