Sorry, may I know why only this specific debug message requests format 
improving while others do not?

Best Regards,
Hao Wu

> -----Original Message-----
> From: [email protected] <[email protected]> On Behalf Of Rebecca
> Cran
> Sent: Tuesday, February 21, 2023 8:52 AM
> To: [email protected]; Wang, Jian J <[email protected]>; Gao, Liming
> <[email protected]>; Wu, Hao A <[email protected]>; Ni, Ray
> <[email protected]>
> Cc: Rebecca Cran <[email protected]>
> Subject: [edk2-devel] [PATCH 1/1] MdeModulePkg: Improve formatting of
> warning DEBUG in UsbSelectConfig
> 
> Improve the formatting of a warning in UsbSelectConfig by adding parentheses
> around the EFI_STATUS value.
> 
> Signed-off-by: Rebecca Cran <[email protected]>
> ---
>  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
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#100433): https://edk2.groups.io/g/devel/message/100433
Mute This Topic: https://groups.io/mt/97099772/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to