Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 21320ef66989f8af5a9e9b57df73d20a70bea85f
https://github.com/tianocore/edk2/commit/21320ef66989f8af5a9e9b57df73d20a70bea85f
Author: Sunny Wang <[email protected]>
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 <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: G Edhaya Chandran <[email protected]>
Cc: Samer El-Haj-Mahmoud <[email protected]>
Signed-off-by: Sunny Wang <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits