public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/1] MdeModulePkg: Improve formatting of warning DEBUG in UsbSelectConfig
@ 2023-02-21  0:51 Rebecca Cran
  2023-02-22  7:19 ` [edk2-devel] " Wu, Hao A
  0 siblings, 1 reply; 5+ messages in thread
From: Rebecca Cran @ 2023-02-21  0:51 UTC (permalink / raw)
  To: devel, Jian J Wang, Liming Gao, Hao A Wu, Ray Ni; +Cc: Rebecca Cran

Improve the formatting of a warning in UsbSelectConfig by adding
parentheses around the EFI_STATUS value.

Signed-off-by: Rebecca Cran <rebecca@quicinc.com>
---
 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c
index aed34596f469..29a6419c3c86 100644
--- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c
+++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c
@@ -440,7 +440,7 @@ UsbSelectConfig (
     if (EFI_ERROR (Status)) {
       DEBUG ((
         DEBUG_WARN,
-        "UsbSelectConfig: failed to connect driver %r, ignored\n",
+        "UsbSelectConfig: failed to connect driver (%r), ignored\n",
         Status
         ));
     }
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-23 23:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-21  0:51 [PATCH 1/1] MdeModulePkg: Improve formatting of warning DEBUG in UsbSelectConfig Rebecca Cran
2023-02-22  7:19 ` [edk2-devel] " Wu, Hao A
2023-02-22 11:43   ` Rebecca Cran
2023-02-23  1:39     ` Wu, Hao A
2023-02-23 23:08       ` Rebecca Cran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox