]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
efi/tpm.h: Fix hash_log_extend_event definition.
authorVladimir Serbinenko <phcoder@gmail.com>
Fri, 22 Mar 2019 16:12:57 +0000 (17:12 +0100)
committerVladimir Serbinenko <phcoder@google.com>
Mon, 25 Mar 2019 14:16:26 +0000 (15:16 +0100)
I didn't check the spec but pointer to address doesn't make much sense
and doesn't match the code.

Signed-off-by: Vladimir Serbinenko <phcoder@google.com>
include/grub/efi/tpm.h

index 79c478832e2f5670d6df1d37fbe35d7041b547c8..3ea6b4de158896d004658500fc201fd634a1e107 100644 (file)
@@ -164,7 +164,7 @@ struct grub_efi_tpm2_protocol
                                      grub_efi_boolean_t * EventLogTruncated);
   grub_efi_status_t (*hash_log_extend_event) (struct grub_efi_tpm2_protocol *
                                              this, grub_efi_uint64_t Flags,
-                                             grub_efi_physical_address_t *
+                                             grub_efi_physical_address_t
                                              DataToHash,
                                              grub_efi_uint64_t DataToHashLen,
                                              EFI_TCG2_EVENT *EfiTcgEvent);