Hi, The recent patch: 276805fb9c305: efi/libstub: Add get_event_log() support for CC platforms has introduced #define EFI_CC_EVENT_LOG_FORMAT_TCG_2 0x00000002 But EFI_TCG2_EVENT_LOG_FORMAT_TCG_2 has the same numerical value: #define EFI_TCG2_EVENT_LOG_FORMAT_TCG_2 0x2 Thus there is dead code in efi_retrieve_tcg2_eventlog() i.e, multiple if conditions with (version == 2) I'm unable to decide on what is wrong and what is right here. Please have a look. -- BR, Muhammad Usama Anjum