X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FUsb%2FUsbMassStorageDxe%2FUsbMassBot.c;fp=MdeModulePkg%2FBus%2FUsb%2FUsbMassStorageDxe%2FUsbMassBot.c;h=ce252e60fc4ee2c020a8c4e19aba2c085a71bdac;hp=1e878a1bdd1d7a628599f30a1b2d1c626b26e9c5;hb=87000d77082339be464d07855d9fc194c6b4e8a6;hpb=917e98f3e5268c3754d472f7b20eb9bf8eba169d diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c index 1e878a1bdd..ce252e60fc 100644 --- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c +++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c @@ -266,13 +266,13 @@ UsbBotDataTransfer ( ); if (EFI_ERROR (Status)) { if (USB_IS_ERROR (Result, EFI_USB_ERR_STALL)) { - DEBUG ((EFI_D_INFO, "UsbBotDataTransfer: (%r)\n", Status)); - DEBUG ((EFI_D_INFO, "UsbBotDataTransfer: DataIn Stall\n")); + DEBUG ((DEBUG_INFO, "UsbBotDataTransfer: (%r)\n", Status)); + DEBUG ((DEBUG_INFO, "UsbBotDataTransfer: DataIn Stall\n")); UsbClearEndpointStall (UsbBot->UsbIo, Endpoint->EndpointAddress); } else if (USB_IS_ERROR (Result, EFI_USB_ERR_NAK)) { Status = EFI_NOT_READY; } else { - DEBUG ((EFI_D_ERROR, "UsbBotDataTransfer: (%r)\n", Status)); + DEBUG ((DEBUG_ERROR, "UsbBotDataTransfer: (%r)\n", Status)); } if(Status == EFI_TIMEOUT){ UsbBotResetDevice(UsbBot, FALSE); @@ -416,7 +416,7 @@ UsbBotExecCommand ( // Status = UsbBotSendCommand (UsbBot, Cmd, CmdLen, DataDir, DataLen, Lun); if (EFI_ERROR (Status)) { - DEBUG ((EFI_D_ERROR, "UsbBotExecCommand: UsbBotSendCommand (%r)\n", Status)); + DEBUG ((DEBUG_ERROR, "UsbBotExecCommand: UsbBotSendCommand (%r)\n", Status)); return Status; } @@ -433,7 +433,7 @@ UsbBotExecCommand ( // Status = UsbBotGetStatus (UsbBot, DataLen, &Result); if (EFI_ERROR (Status)) { - DEBUG ((EFI_D_ERROR, "UsbBotExecCommand: UsbBotGetStatus (%r)\n", Status)); + DEBUG ((DEBUG_ERROR, "UsbBotExecCommand: UsbBotGetStatus (%r)\n", Status)); return Status; } @@ -604,4 +604,3 @@ UsbBotCleanUp ( FreePool (Context); return EFI_SUCCESS; } -