diff options
author | Chao Zhang <chao.b.zhang@intel.com> | 2014-11-10 05:01:15 +0000 |
---|---|---|
committer | czhang46 <czhang46@Edk2> | 2014-11-10 05:01:15 +0000 |
commit | 33985e3b52ee2e4b5064331134d983e55a7da904 (patch) | |
tree | 83f45a1974beb478827292df7eae1e53610e5a8e /SecurityPkg/Library/DxeTrEEPhysicalPresenceLib | |
parent | 6f6c3a1fb628be2b8fb68add9f166d8fa51a9c70 (diff) | |
download | edk2-33985e3b52ee2e4b5064331134d983e55a7da904.tar.gz edk2-33985e3b52ee2e4b5064331134d983e55a7da904.tar.bz2 edk2-33985e3b52ee2e4b5064331134d983e55a7da904.zip |
Fix execution status & DEBUG message level mismatch. EFI_D_ERROR is used only when failure/case can’t be resolved by code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Dong Guo <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16320 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Library/DxeTrEEPhysicalPresenceLib')
-rw-r--r-- | SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.c b/SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.c index ea9a29c0f0..89ce436b7c 100644 --- a/SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.c +++ b/SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.c @@ -91,15 +91,15 @@ TpmCommandClear ( CopyMem (LocalAuthSession.hmac.buffer, PlatformAuth->buffer, PlatformAuth->size);
}
- DEBUG ((EFI_D_ERROR, "Tpm2ClearControl ... \n"));
+ DEBUG ((EFI_D_INFO, "Tpm2ClearControl ... \n"));
Status = Tpm2ClearControl (TPM_RH_PLATFORM, AuthSession, NO);
- DEBUG ((EFI_D_ERROR, "Tpm2ClearControl - %r\n", Status));
+ DEBUG ((EFI_D_INFO, "Tpm2ClearControl - %r\n", Status));
if (EFI_ERROR (Status)) {
goto Done;
}
- DEBUG ((EFI_D_ERROR, "Tpm2Clear ... \n"));
+ DEBUG ((EFI_D_INFO, "Tpm2Clear ... \n"));
Status = Tpm2Clear (TPM_RH_PLATFORM, AuthSession);
- DEBUG ((EFI_D_ERROR, "Tpm2Clear - %r\n", Status));
+ DEBUG ((EFI_D_INFO, "Tpm2Clear - %r\n", Status));
Done:
ZeroMem (&LocalAuthSession.hmac, sizeof(LocalAuthSession.hmac));
|