Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 21320ef66989f8af5a9e9b57df73d20a70bea85f https://github.com/tianocore/edk2/commit/21320ef66989f8af5a9e9b57df73d20a70bea85f Author: Sunny Wang <sunny.w...@arm.com> Date: 2022-01-21 (Fri, 21 Jan 2022)
Changed paths: M MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c Log Message: ----------- MdeModulePkg/Variable: Make only EFI_VARIABLE_NON_VOLATILE invalid Only EFI_VARIABLE_NON_VOLATILE attribute is an invalid combination of attribute bits, so update the variable driver to return EFI_INVALID_PARAMETER so that we can prevent the invalid variable being created. This change also fixes the SCT failure below: - RT.QueryVariableInfo - With being an invalid combination -- FAILURE For details, please check the threads below: - https://edk2.groups.io/g/devel/topic/86486174 - https://edk2.groups.io/g/devel/message/82466 Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Heinrich Schuchardt <heinrich.schucha...@canonical.com> Cc: G Edhaya Chandran <edhaya.chand...@arm.com> Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahm...@arm.com> Signed-off-by: Sunny Wang <sunny.w...@arm.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits