summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Library/DxeTpm2MeasureBootLib
diff options
context:
space:
mode:
authorChao Zhang <chao.b.zhang@intel.com>2014-11-10 05:01:15 +0000
committerczhang46 <czhang46@Edk2>2014-11-10 05:01:15 +0000
commit33985e3b52ee2e4b5064331134d983e55a7da904 (patch)
tree83f45a1974beb478827292df7eae1e53610e5a8e /SecurityPkg/Library/DxeTpm2MeasureBootLib
parent6f6c3a1fb628be2b8fb68add9f166d8fa51a9c70 (diff)
downloadedk2-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/DxeTpm2MeasureBootLib')
-rw-r--r--SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c b/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c
index 8482031e43..6b6a377b2d 100644
--- a/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c
+++ b/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c
@@ -509,7 +509,7 @@ DxeTpm2MeasureBootHandler (
// Measure GPT disk.
//
Status = TrEEMeasureGptTable (TreeProtocol, Handle);
- DEBUG ((EFI_D_ERROR, "DxeTpm2MeasureBootHandler - TrEEMeasureGptTable - %r\n", Status));
+ DEBUG ((EFI_D_INFO, "DxeTpm2MeasureBootHandler - TrEEMeasureGptTable - %r\n", Status));
if (!EFI_ERROR (Status)) {
//
// GPT disk check done.
@@ -653,7 +653,7 @@ DxeTpm2MeasureBootHandler (
ImageContext.ImageType,
DevicePathNode
);
- DEBUG ((EFI_D_ERROR, "DxeTpm2MeasureBootHandler - TrEEMeasurePeImage - %r\n", Status));
+ DEBUG ((EFI_D_INFO, "DxeTpm2MeasureBootHandler - TrEEMeasurePeImage - %r\n", Status));
}
//
@@ -664,7 +664,7 @@ Finish:
FreePool (OrigDevicePathNode);
}
- DEBUG ((EFI_D_ERROR, "DxeTpm2MeasureBootHandler - %r\n", Status));
+ DEBUG ((EFI_D_INFO, "DxeTpm2MeasureBootHandler - %r\n", Status));
return Status;
}