mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
8a4b243578
commit
fcdfd249ec
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue