[PATCH v3 29/43] vbe: Use a warning for a failed requests

Simon Glass sjg at chromium.org
Fri Oct 21 02:23:06 CEST 2022


Optional requests should present a warning rather than an error. Update
the log call.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 boot/vbe_request.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boot/vbe_request.c b/boot/vbe_request.c
index fa018924637..312edfa2bdb 100644
--- a/boot/vbe_request.c
+++ b/boot/vbe_request.c
@@ -195,8 +195,8 @@ static int bootmeth_vbe_ft_fixup(void *ctx, struct event *event)
 		ret = vbe_process_request(dest, &result);
 		if (ret) {
 			result.errnum = ret;
-			log_err("Failed to process VBE request %s (err=%d)\n",
-				ofnode_get_name(dest), ret);
+			log_warning("Failed to process VBE request %s (err=%d)\n",
+				    ofnode_get_name(dest), ret);
 			if (*result.err_str) {
 				char *msg = strdup(result.err_str);
 
-- 
2.38.0.135.g90850a2211-goog



More information about the U-Boot mailing list