From c3bd5d1b369ab24972240d20b3b1b67305543ede Mon Sep 17 00:00:00 2001 From: Dennis Chen Date: Wed, 8 Nov 2017 09:13:00 +0000 Subject: [PATCH] Prototype fixing for (*hash_log_extend_event) According to the section 6.6.1 'Prototype' in 'TCG EFI Protocol Spec', the 3rd parameter of the (*hash_log_extend_event) should be 'EFI_PHYSICAL_ADDRESS' which is 'grub_efi_physical_address_t' in the real implementation. So this patch drop the pointer mark '*' from this prototype. Signed-off-by: Dennis Chen --- include/grub/efi/tpm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/grub/efi/tpm.h b/include/grub/efi/tpm.h index e2aff4a3c..63d8a0fe7 100644 --- a/include/grub/efi/tpm.h +++ b/include/grub/efi/tpm.h @@ -129,7 +129,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 *DataToHash, + grub_efi_physical_address_t DataToHash, grub_efi_uint64_t DataToHashLen, EFI_TCG2_EVENT *EfiTcgEvent); grub_efi_status_t (*submit_command) (struct grub_efi_tpm2_protocol *this,