diff options
author | Sunny Wang <Sunny.Wang@arm.com> | 2022-01-12 05:37:20 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-01-21 02:13:31 +0000 |
commit | 21320ef66989f8af5a9e9b57df73d20a70bea85f (patch) | |
tree | 15d8f6e157580ffd9aada777ee4ff3ef06693c24 /MdeModulePkg/Bus | |
parent | 7709988dd8f9a69eea456869f468120f1f0fc7cb (diff) | |
download | edk2-21320ef66989f8af5a9e9b57df73d20a70bea85f.tar.gz edk2-21320ef66989f8af5a9e9b57df73d20a70bea85f.tar.bz2 edk2-21320ef66989f8af5a9e9b57df73d20a70bea85f.zip |
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 <gaoliming@byosoft.com.cn>
Cc: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Cc: G Edhaya Chandran <edhaya.chandran@arm.com>
Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
Signed-off-by: Sunny Wang <sunny.wang@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdeModulePkg/Bus')
0 files changed, 0 insertions, 0 deletions