[Bug 3699] New: MdeModulePkg\Library\DxeCapsuleLibFmp use deprecated interface to lock variable


bugzilla-daemon@...
 

https://bugzilla.tianocore.org/show_bug.cgi?id=3699

Bug ID: 3699
Summary: MdeModulePkg\Library\DxeCapsuleLibFmp use deprecated
interface to lock variable
Product: EDK2
Version: Current
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Lowest
Component: Code
Assignee: unassigned@tianocore.org
Reporter: jie.yang@intel.com
CC: edk2+bugs+int+994+563148131503455288@groups.io

The code in DxeCapsuleLibFmp call the deprecated interface
VariableLockRequestToLoc because the comment of interface
VariableLockRequestToLock says " DEBUG ((DEBUG_WARN, "!!! DEPRECATED INTERFACE
!!! %a() will go away soon!\n", __FUNCTION__));
DEBUG ((DEBUG_WARN, "!!! DEPRECATED INTERFACE !!! Please move to use Variable
Policy!\n"));
DEBUG ((DEBUG_WARN, "!!! DEPRECATED INTERFACE !!! Variable: %g %s\n",
VendorGuid, VariableName));". Thus, we should use Variable Policy to lock
variable instead of the deprecated interface.

--
You are receiving this mail because:
You are on the CC list for the bug.