summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2017-09-04 20:36:37 +0200
committerLaszlo Ersek <lersek@redhat.com>2017-09-11 22:38:59 +0200
commit1dac45f53058a314e66daa54fbb7a26e4fa00b0a (patch)
tree3f7b36cd0f9542e93698681e4aac5e3215885ebf
parent80886a695377dfe421ae93887b85e37982c1f1c3 (diff)
downloadedk2-1dac45f53058a314e66daa54fbb7a26e4fa00b0a.tar.gz
edk2-1dac45f53058a314e66daa54fbb7a26e4fa00b0a.tar.bz2
edk2-1dac45f53058a314e66daa54fbb7a26e4fa00b0a.zip
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 <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
-rw-r--r--MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c6
1 files changed, 5 insertions, 1 deletions
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
+ ));
}
}