diff mbox series

efi_loader: Reduce efi_tcg2 logging statement

Message ID 20211109113553.3558-1-masahisa.kojima@linaro.org
State Accepted
Commit 3961bd9b552bfb3c08664fb09f18744c6f691456
Headers show
Series efi_loader: Reduce efi_tcg2 logging statement | expand

Commit Message

Masahisa Kojima Nov. 9, 2021, 11:35 a.m. UTC
log_info() is used for the debug level logging statement
which should use log_debug() instead. Convert it to reduce the
log output.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
---
 lib/efi_loader/efi_tcg2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heinrich Schuchardt Nov. 14, 2021, 7:21 a.m. UTC | #1
On 11/9/21 12:35, Masahisa Kojima wrote:
> log_info() is used for the debug level logging statement
> which should use log_debug() instead. Convert it to reduce the
> log output.
>
> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

> ---
>   lib/efi_loader/efi_tcg2.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c
> index 189e4a5ba5..2771fd6b5f 100644
> --- a/lib/efi_loader/efi_tcg2.c
> +++ b/lib/efi_loader/efi_tcg2.c
> @@ -1472,7 +1472,7 @@ static efi_status_t tcg2_measure_boot_variable(struct udevice *dev)
>   				      &var_data_size);
>
>   		if (!bootvar) {
> -			log_info("%ls not found\n", boot_name);
> +			log_debug("%ls not found\n", boot_name);
>   			continue;
>   		}
>
>
diff mbox series

Patch

diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c
index 189e4a5ba5..2771fd6b5f 100644
--- a/lib/efi_loader/efi_tcg2.c
+++ b/lib/efi_loader/efi_tcg2.c
@@ -1472,7 +1472,7 @@  static efi_status_t tcg2_measure_boot_variable(struct udevice *dev)
 				      &var_data_size);
 
 		if (!bootvar) {
-			log_info("%ls not found\n", boot_name);
+			log_debug("%ls not found\n", boot_name);
 			continue;
 		}