From 1dac45f53058a314e66daa54fbb7a26e4fa00b0a Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Mon, 4 Sep 2017 20:36:37 +0200 Subject: [PATCH] MdeModulePkg/UsbBusDxe: log warning message at DEBUG_WARN level "UsbSelectConfig: failed to connect driver %r, ignored" is an error message, but it states at once that the error condition will not affect the control flow. Degrade the report to DEBUG_WARN. Cc: Star Zeng Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek Reviewed-by: Star Zeng --- MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c index b0e6b835ac..62645d9bde 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c @@ -440,7 +440,11 @@ UsbSelectConfig ( Status = UsbConnectDriver (UsbIf); if (EFI_ERROR (Status)) { - DEBUG ((EFI_D_ERROR, "UsbSelectConfig: failed to connect driver %r, ignored\n", Status)); + DEBUG (( + DEBUG_WARN, + "UsbSelectConfig: failed to connect driver %r, ignored\n", + Status + )); } } -- 2.39.2