diff options
| author | Sunny Wang <Sunny.Wang@arm.com> | 2022-01-12 00:37:20 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-01-21 05:13:31 +0300 |
| commit | 21320ef66989f8af5a9e9b57df73d20a70bea85f (patch) | |
| tree | 15d8f6e157580ffd9aada777ee4ff3ef06693c24 /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics | |
| parent | 7709988dd8f9a69eea456869f468120f1f0fc7cb (diff) | |
| download | edk2-21320ef66989f8af5a9e9b57df73d20a70bea85f.tar.xz | |
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/Library/DisplayUpdateProgressLibGraphics')
0 files changed, 0 insertions, 0 deletions
