MdeModulePkg: Improve formatting of DEBUG messages in UsbBusDxe

Improve the formatting of DEBUG messages in UsbBusDxe by adding
a hyphen to separate the EFI_STATUS code.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
This commit is contained in:
Rebecca Cran
2023-02-24 08:18:01 +08:00
committed by mergify[bot]
parent a1d595fc9c
commit 46f51898ff
4 changed files with 11 additions and 11 deletions

View File

@@ -761,7 +761,7 @@ UsbGetOneConfig (
if (EFI_ERROR (Status)) {
DEBUG ((
DEBUG_ERROR,
"UsbGetOneConfig: failed to get descript length(%d) %r\n",
"UsbGetOneConfig: failed to get descript length(%d) - %r\n",
Desc.TotalLength,
Status
));
@@ -787,7 +787,7 @@ UsbGetOneConfig (
Status = UsbCtrlGetDesc (UsbDev, USB_DESC_TYPE_CONFIG, Index, 0, Buf, Desc.TotalLength);
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_ERROR, "UsbGetOneConfig: failed to get full descript %r\n", Status));
DEBUG ((DEBUG_ERROR, "UsbGetOneConfig: failed to get full descript - %r\n", Status));
FreePool (Buf);
return NULL;
@@ -891,7 +891,7 @@ UsbBuildDescTable (
Status = UsbBuildLangTable (UsbDev);
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_INFO, "UsbBuildDescTable: get language ID table %r\n", Status));
DEBUG ((DEBUG_INFO, "UsbBuildDescTable: get language ID table - %r\n", Status));
}
return EFI_SUCCESS;