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>
This commit is contained in:
Laszlo Ersek 2017-09-04 20:36:37 +02:00
parent 80886a6953
commit 1dac45f530
1 changed files with 5 additions and 1 deletions

View File

@ -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
));
}
}