diff options
author | Laszlo Ersek <lersek@redhat.com> | 2015-10-16 15:46:37 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-10-16 15:46:37 +0000 |
commit | fcdfd249ec4782b18b5a908d90f95080bbc7c6ff (patch) | |
tree | 04cd7c2b23c4b13c61861d841587a86a4af57c12 | |
parent | 8a4b243578e565d97939b79d88ba348832e37d15 (diff) | |
download | edk2-fcdfd249ec4782b18b5a908d90f95080bbc7c6ff.zip edk2-fcdfd249ec4782b18b5a908d90f95080bbc7c6ff.tar.gz edk2-fcdfd249ec4782b18b5a908d90f95080bbc7c6ff.tar.bz2 |
MdeModulePkg: FaultTolerantWriteDxe: clean up some "success" messages
The "success" messages in FtwRestart(), FtwAbort(), and FtwGetLastWrite()
should be logged on EFI_D_INFO level. We can also unify their format with
the __FUNCTION__ macro.
Cc: Star Zeng <star.zeng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Drew Jones <drjones@redhat.com>
Suggested-by: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18620 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.c b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.c index 7a6c377..2e3e8c7 100644 --- a/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.c +++ b/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.c @@ -720,7 +720,7 @@ FtwRestart ( return EFI_ABORTED;
}
- DEBUG ((EFI_D_ERROR, "Ftw: Restart() success \n"));
+ DEBUG ((EFI_D_INFO, "%a(): success\n", __FUNCTION__));
return EFI_SUCCESS;
}
@@ -775,7 +775,7 @@ FtwAbort ( FtwDevice->FtwLastWriteHeader->Complete = FTW_VALID_STATE;
- DEBUG ((EFI_D_ERROR, "Ftw: Abort() success \n"));
+ DEBUG ((EFI_D_INFO, "%a(): success\n", __FUNCTION__));
return EFI_SUCCESS;
}
@@ -886,7 +886,7 @@ FtwGetLastWrite ( Status = EFI_SUCCESS;
}
- DEBUG ((EFI_D_ERROR, "Ftw: GetLasetWrite() success\n"));
+ DEBUG ((EFI_D_INFO, "%a(): success\n", __FUNCTION__));
return Status;
}
|