diff options
author | Star Zeng <star.zeng@intel.com> | 2016-06-02 14:38:03 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-06 16:41:29 +0800 |
commit | 3c6246a074c016ad43db0fb8fd689c52e9051230 (patch) | |
tree | 3a380759220d1490ba5385598c77e6cb908d27cc /OvmfPkg/EmuVariableFvbRuntimeDxe | |
parent | 41af56e1b52fcc1118f21a2e1a3e5c21a6c68f68 (diff) | |
download | edk2-platforms-3c6246a074c016ad43db0fb8fd689c52e9051230.tar.xz |
SecurityPkg EsalVariableDxeSal: Use input Global to make code more clear
SecurityPkg\VariableAuthenticated\EsalVariableDxeSal\Variable.c
AutoUpdateLangVariable()
Global->PlatformLangCodes[VirtualMode] = AllocateRuntimeCopyPool
(DataSize, Data);
ASSERT (mVariableModuleGlobal->PlatformLangCodes[VirtualMode] != NULL);
The patch is to use Global instead of mVariableModuleGlobal in the
ASSERT (XXX) to make code more clear although mVariableModuleGlobal is
equal to Global actually.
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Amy Chan <amy.chan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Amy Chan <amy.chan@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
(cherry picked from commit 5b03f1b5145dd7e4b3ac7bcdd05f03597b461989)
Diffstat (limited to 'OvmfPkg/EmuVariableFvbRuntimeDxe')
0 files changed, 0 insertions, 0 deletions