summaryrefslogtreecommitdiff
path: root/SecurityPkg
diff options
context:
space:
mode:
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2013-01-15 06:43:24 +0000
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2013-01-15 06:43:24 +0000
commitaab9212fa9989deb1e11906dca92c2fe31a4e91f (patch)
tree6af8a0620579dff7f66246aee371517c5f1ed9b4 /SecurityPkg
parentd2b9b337374b3641226f833919323f016cb83314 (diff)
downloadedk2-aab9212fa9989deb1e11906dca92c2fe31a4e91f.zip
edk2-aab9212fa9989deb1e11906dca92c2fe31a4e91f.tar.gz
edk2-aab9212fa9989deb1e11906dca92c2fe31a4e91f.tar.bz2
Fix the issue that RuntimeServiceQueryVariableInfo() in VariableSmmRuntimeDxe always return EFI_SUCCESS.
Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14050 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg')
-rw-r--r--SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.c
index 1c06edd..a785476 100644
--- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.c
+++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.c
@@ -13,7 +13,7 @@
InitCommunicateBuffer() is really function to check the variable data size.
-Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -471,7 +471,7 @@ RuntimeServiceQueryVariableInfo (
Done:
ReleaseLockOnlyAtBootTime (&mVariableServicesLock);
- return EFI_SUCCESS;
+ return Status;
}