[PATCH] efi_loader: Reduce efi_tcg2 logging statement

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Nov 14 08:21:11 CET 2021


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 at linaro.org>

Reviewed-by: Heinrich Schuchardt <xypron.glpk at 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;
>   		}
>
>



More information about the U-Boot mailing list