]> git.baikalelectronics.ru Git - uboot.git/commitdiff
vbe: Use a warning for a failed requests
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:23:06 +0000 (18:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:03:18 +0000 (11:03 -0400)
Optional requests should present a warning rather than an error. Update
the log call.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/vbe_request.c

index fa0189246375c4ba67013923b28c1e003673f509..312edfa2bdb536c466d675f661e5e57186fe5c22 100644 (file)
@@ -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);