security/tpm/tspi: Fix preram TPM log max entries
Change-Id: I671fcd891367d3cbae4fc2d18db5a73ee8c15e8f
This commit is contained in:
@ -97,7 +97,7 @@ void tpm_preram_log_clear(void)
|
||||
{
|
||||
printk(BIOS_INFO, "TPM LOG: clearing preram log\n");
|
||||
struct tpm_cb_log_table *tclt = (struct tpm_cb_log_table *)_tpm_log;
|
||||
tclt->max_entries = MAX_TPM_LOG_ENTRIES;
|
||||
tclt->max_entries = MAX_PRERAM_TPM_LOG_ENTRIES;
|
||||
tclt->num_entries = 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user