* Re: [edk2-devel] [PATCH v4 0/1] SecurityPkg/OpalPasswordDxe: Update UI according to UEFI spec
2024-04-12 8:31 [edk2-devel] [PATCH v4 0/1] SecurityPkg/OpalPasswordDxe: Update UI according to UEFI spec Cindy Kuo
@ 2024-04-15 14:00 ` Yao, Jiewen
0 siblings, 0 replies; 2+ messages in thread
From: Yao, Jiewen @ 2024-04-15 14:00 UTC (permalink / raw)
To: Kuo, CindyX, devel@edk2.groups.io
Cc: Kumar, Rahul R, Bi, Dandan, Tan, Ming, Chen, Arthur G,
Chen, Xiao X, Chen, Tina
I am not sure why patch 0/1 contains the code. It should be the cover letter.
Also, if Dandan has already reviewed that, you may add R-B tag.
> -----Original Message-----
> From: Kuo, CindyX <cindyx.kuo@intel.com>
> Sent: Friday, April 12, 2024 4:31 PM
> To: devel@edk2.groups.io
> Cc: Kuo, CindyX <cindyx.kuo@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>;
> Kumar, Rahul R <rahul.r.kumar@intel.com>; Bi, Dandan <dandan.bi@intel.com>;
> Tan, Ming <ming.tan@intel.com>; Chen, Arthur G <arthur.g.chen@intel.com>;
> Chen, Xiao X <xiao.x.chen@intel.com>; Chen, Tina <tina.chen@intel.com>
> Subject: [PATCH v4 0/1] SecurityPkg/OpalPasswordDxe: Update UI according to
> UEFI spec
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4735
>
> Should not call HiiGetBrowserData() and HiiSetBrowserData() in FORM_OPEN
> call back function.
> Those APIs are called within OpalHiiSetBrowserData/OpalHiiGetBrowserData
> which have been used by OpalHii.c.
>
> Change callback action from FORM_OPEN to RETRIEVE.
>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Rahul Kumar <rahul1.kumar@intel.com>
> Cc: Dandan Bi <dandan.bi@intel.com>
> Cc: Ming Tan <ming.tan@intel.com>
> Cc: Arthur Chen <arthur.g.chen@intel.com>
> Cc: Xiao X Chen <xiao.x.chen@intel.com>
> Cc: Tina Chen <tina.chen@intel.com>
> Signed-off-by: CindyX Kuo <cindyx.kuo@intel.com>
> ---
> SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
> b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
> index 8035f44ebe..56ada1a9f3 100644
> --- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
> +++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c
> @@ -632,7 +632,7 @@ DriverCallback (
> HiiKey.Raw = QuestionId;
> HiiKeyId = (UINT8)HiiKey.KeyBits.Id;
>
> - if (Action == EFI_BROWSER_ACTION_FORM_OPEN) {
> + if (Action == EFI_BROWSER_ACTION_RETRIEVE) {
> switch (HiiKeyId) {
> case HII_KEY_ID_VAR_SUPPORTED_DISKS:
> DEBUG ((DEBUG_INFO, "HII_KEY_ID_VAR_SUPPORTED_DISKS\n"));
> --
> 2.44.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#117787): https://edk2.groups.io/g/devel/message/117787
Mute This Topic: https://groups.io/mt/105478921/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 2+ messages in thread