Re: [PATCH v6 2/7] tpm: add _head suffix to tcg_efi_specid_event and tcg_pcr_event2

2018-12-09 Thread Nayna Jain
On 12/04/2018 01:51 PM, Roberto Sassu wrote: TCG defines two structures, TCG_EfiSpecIDEventStruct and TCG_PCR_EVENT2, which contain variable-sized arrays in the middle of the definition. Since these structures are not suitable for type casting, this patch removes structure members after the

Re: [PATCH v6 2/7] tpm: add _head suffix to tcg_efi_specid_event and tcg_pcr_event2

2018-12-04 Thread Jarkko Sakkinen
On Tue, Dec 04, 2018 at 09:21:33AM +0100, Roberto Sassu wrote: > TCG defines two structures, TCG_EfiSpecIDEventStruct and TCG_PCR_EVENT2, > which contain variable-sized arrays in the middle of the definition. > > Since these structures are not suitable for type casting, this patch > removes

Re: [PATCH v6 2/7] tpm: add _head suffix to tcg_efi_specid_event and tcg_pcr_event2

2018-12-04 Thread Jarkko Sakkinen
On Tue, Dec 04, 2018 at 09:21:33AM +0100, Roberto Sassu wrote: > TCG defines two structures, TCG_EfiSpecIDEventStruct and TCG_PCR_EVENT2, > which contain variable-sized arrays in the middle of the definition. > > Since these structures are not suitable for type casting, this patch > removes

[PATCH v6 2/7] tpm: add _head suffix to tcg_efi_specid_event and tcg_pcr_event2

2018-12-04 Thread Roberto Sassu
TCG defines two structures, TCG_EfiSpecIDEventStruct and TCG_PCR_EVENT2, which contain variable-sized arrays in the middle of the definition. Since these structures are not suitable for type casting, this patch removes structure members after the variable-sized arrays and adds the _head suffix to

[PATCH v6 2/7] tpm: add _head suffix to tcg_efi_specid_event and tcg_pcr_event2

2018-12-04 Thread Roberto Sassu
TCG defines two structures, TCG_EfiSpecIDEventStruct and TCG_PCR_EVENT2, which contain variable-sized arrays in the middle of the definition. Since these structures are not suitable for type casting, this patch removes structure members after the variable-sized arrays and adds the _head suffix to