projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f19605
)
efi/libstub: fix prototype of efi_tcg2_protocol::get_event_log()
author
Ard Biesheuvel
<ardb@kernel.org>
Mon, 2 Nov 2020 09:04:39 +0000
(10:04 +0100)
committer
Ard Biesheuvel
<ardb@kernel.org>
Tue, 19 Jan 2021 16:57:15 +0000
(17:57 +0100)
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>
drivers/firmware/efi/libstub/efistub.h
patch
|
blob
|
history
diff --git
a/drivers/firmware/efi/libstub/efistub.h
b/drivers/firmware/efi/libstub/efistub.h
index b50a6c67d9bd23da5d55127e25bc658b76309931..2b7438ba1fbc7bad54f0a14ada59e579e003f811 100644
(file)
--- 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 *,