diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-04-30 14:28:38 -0400 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-05-01 09:40:02 +0200 |
commit | dad5b324212ef261e9b399b7456a4c3df0a8c300 (patch) | |
tree | 1e211bc840faf3138378f32f79ddf613d7c1e976 /drivers/firmware/efi/libstub/tpm.c | |
parent | 61eac6d92d351fc446c7a0ba3b55a9b8d9977e30 (diff) | |
download | linux-dad5b324212ef261e9b399b7456a4c3df0a8c300.tar.gz linux-dad5b324212ef261e9b399b7456a4c3df0a8c300.tar.bz2 linux-dad5b324212ef261e9b399b7456a4c3df0a8c300.zip |
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>
Diffstat (limited to 'drivers/firmware/efi/libstub/tpm.c')
-rw-r--r-- | drivers/firmware/efi/libstub/tpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/tpm.c b/drivers/firmware/efi/libstub/tpm.c index 1d59e103a2e3..09adcf51b75b 100644 --- a/drivers/firmware/efi/libstub/tpm.c +++ b/drivers/firmware/efi/libstub/tpm.c @@ -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; } |