MdeModulePkg: Change use of EFI_D_* to DEBUG_*
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739 Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines. Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
917e98f3e5
commit
87000d7708
@@ -417,7 +417,7 @@ PartitionDriverBindingStop (
|
||||
// bus driver. Hence, additional check is needed here.
|
||||
//
|
||||
if (HasChildren (ControllerHandle)) {
|
||||
DEBUG((EFI_D_ERROR, "PartitionDriverBindingStop: Still has child.\n"));
|
||||
DEBUG((DEBUG_ERROR, "PartitionDriverBindingStop: Still has child.\n"));
|
||||
return EFI_DEVICE_ERROR;
|
||||
}
|
||||
|
||||
@@ -486,7 +486,7 @@ PartitionDriverBindingStop (
|
||||
|
||||
if (BlockIo2 != NULL) {
|
||||
Status = BlockIo2->FlushBlocksEx (BlockIo2, NULL);
|
||||
DEBUG((EFI_D_ERROR, "PartitionDriverBindingStop: FlushBlocksEx returned with %r\n", Status));
|
||||
DEBUG((DEBUG_ERROR, "PartitionDriverBindingStop: FlushBlocksEx returned with %r\n", Status));
|
||||
} else {
|
||||
Status = EFI_SUCCESS;
|
||||
}
|
||||
@@ -1372,4 +1372,3 @@ HasChildren (
|
||||
|
||||
return (BOOLEAN) (Index < EntryCount);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user