summaryrefslogtreecommitdiffstats
path: root/FatPkg/EnhancedFatDxe/FileSpace.c
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2021-11-16 19:21:22 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-07 17:24:28 +0000
commit917e98f3e5268c3754d472f7b20eb9bf8eba169d (patch)
tree1c9b0afd9888d2923a774e54a9916e82746b88b9 /FatPkg/EnhancedFatDxe/FileSpace.c
parent9c7da8d8041db4c2406476a72c960ac4c0e327d5 (diff)
downloadedk2-917e98f3e5268c3754d472f7b20eb9bf8eba169d.tar.gz
edk2-917e98f3e5268c3754d472f7b20eb9bf8eba169d.tar.bz2
edk2-917e98f3e5268c3754d472f7b20eb9bf8eba169d.zip
FatPkg: 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: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'FatPkg/EnhancedFatDxe/FileSpace.c')
-rw-r--r--FatPkg/EnhancedFatDxe/FileSpace.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/FatPkg/EnhancedFatDxe/FileSpace.c b/FatPkg/EnhancedFatDxe/FileSpace.c
index f57e44e368..7dd220f837 100644
--- a/FatPkg/EnhancedFatDxe/FileSpace.c
+++ b/FatPkg/EnhancedFatDxe/FileSpace.c
@@ -244,7 +244,7 @@ FatFreeClusters (
while (!FAT_END_OF_FAT_CHAIN (Cluster)) {
if (Cluster == FAT_CLUSTER_FREE || Cluster >= FAT_CLUSTER_SPECIAL) {
- DEBUG ((EFI_D_INIT | EFI_D_ERROR, "FatShrinkEof: cluster chain corrupt\n"));
+ DEBUG ((DEBUG_INIT | DEBUG_ERROR, "FatShrinkEof: cluster chain corrupt\n"));
return EFI_VOLUME_CORRUPTED;
}
@@ -374,7 +374,7 @@ FatShrinkEof (
for (CurSize = 0; CurSize < NewSize; CurSize++) {
if (Cluster == FAT_CLUSTER_FREE || Cluster >= FAT_CLUSTER_SPECIAL) {
- DEBUG ((EFI_D_INIT | EFI_D_ERROR, "FatShrinkEof: cluster chain corrupt\n"));
+ DEBUG ((DEBUG_INIT | DEBUG_ERROR, "FatShrinkEof: cluster chain corrupt\n"));
return EFI_VOLUME_CORRUPTED;
}
@@ -464,7 +464,7 @@ FatGrowEof (
if (Cluster < FAT_MIN_CLUSTER || Cluster > Volume->MaxCluster + 1) {
DEBUG (
- (EFI_D_INIT | EFI_D_ERROR,
+ (DEBUG_INIT | DEBUG_ERROR,
"FatGrowEof: cluster chain corrupt\n")
);
Status = EFI_VOLUME_CORRUPTED;
@@ -478,7 +478,7 @@ FatGrowEof (
if (ClusterCount != CurSize) {
DEBUG (
- (EFI_D_INIT | EFI_D_ERROR,
+ (DEBUG_INIT | DEBUG_ERROR,
"FatGrowEof: cluster chain size does not match file size\n")
);
Status = EFI_VOLUME_CORRUPTED;
@@ -604,7 +604,7 @@ FatOFilePosition (
while (StartPos + ClusterSize <= Position) {
StartPos += ClusterSize;
if (Cluster == FAT_CLUSTER_FREE || (Cluster >= FAT_CLUSTER_SPECIAL)) {
- DEBUG ((EFI_D_INIT | EFI_D_ERROR, "FatOFilePosition:"" cluster chain corrupt\n"));
+ DEBUG ((DEBUG_INIT | DEBUG_ERROR, "FatOFilePosition:"" cluster chain corrupt\n"));
return EFI_VOLUME_CORRUPTED;
}
@@ -668,7 +668,7 @@ FatPhysicalDirSize (
while (!FAT_END_OF_FAT_CHAIN (Cluster)) {
if (Cluster == FAT_CLUSTER_FREE || Cluster >= FAT_CLUSTER_SPECIAL) {
DEBUG (
- (EFI_D_INIT | EFI_D_ERROR,
+ (DEBUG_INIT | DEBUG_ERROR,
"FATDirSize: cluster chain corrupt\n")
);
return 0;