mirror of https://gitee.com/openkylin/linux.git
efi/tpm: Use efi_err for error messages
Use efi_err instead of bare efi_printk for error messages. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200430182843.2510180-7-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
61eac6d92d
commit
dad5b32421
|
@ -119,7 +119,7 @@ void efi_retrieve_tpm2_eventlog(void)
|
|||
sizeof(*log_tbl) + log_size, (void **)&log_tbl);
|
||||
|
||||
if (status != EFI_SUCCESS) {
|
||||
efi_printk("Unable to allocate memory for event log\n");
|
||||
efi_err("Unable to allocate memory for event log\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue