[PATCH 30/45] vbe: Use a warning for a failed requests

Simon Glass sjg at chromium.org
Sun Sep 25 17:02:33 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>
---

 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 935505dd421..01f7a24d316 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.37.3.998.g577e59143f-goog



More information about the U-Boot mailing list