[PATCH] efi_loader: Reduce efi_tcg2 logging statement

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(-)
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; }

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;
participants (2)
-
Heinrich Schuchardt
-
Masahisa Kojima