Reviewed-by: Star Zeng <[email protected]> -----Original Message----- From: Laszlo Ersek [mailto:[email protected]] Sent: Tuesday, September 5, 2017 4:14 AM To: edk2-devel-01 <[email protected]> Cc: Zeng, Star <[email protected]>; Dong, Eric <[email protected]> Subject: [PATCH 1/5] 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 <[email protected]> Cc: Eric Dong <[email protected]> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <[email protected]> --- 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 b0e6b835ac24..62645d9bdedb 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.14.1.3.gb7cf6e02401b _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

