From: "Dong, Eric" <eric.dong@intel.com>
To: "Bi, Dandan" <dandan.bi@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Gao, Liming" <liming.gao@intel.com>
Subject: Re: [patch] MdeModulePkg/UiApp: Fix incorrect question id
Date: Fri, 9 Sep 2016 02:17:45 +0000 [thread overview]
Message-ID: <ED077930C258884BBCB450DB737E6622485AC637@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1473325798-24284-2-git-send-email-dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
> -----Original Message-----
> From: Bi, Dandan
> Sent: Thursday, September 08, 2016 5:10 PM
> To: edk2-devel@lists.01.org
> Cc: Gao, Liming; Dong, Eric
> Subject: [patch] MdeModulePkg/UiApp: Fix incorrect question id
>
> For a question, its question id can not be zero.
> This patch is to fix the issue that using zero as question id.
>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Eric Dong <eric.dong@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Dandan Bi <dandan.bi@intel.com>
> ---
> MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c
> b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c
> index 93f6e4e..1505ef9 100644
> --- a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c
> +++ b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c
> @@ -41,10 +41,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
> #define UI_HII_DRIVER_LIST_SIZE 0x8
>
> #define FRONT_PAGE_KEY_CONTINUE 0x1000
> #define FRONT_PAGE_KEY_RESET 0x1001
> #define FRONT_PAGE_KEY_LANGUAGE 0x1002
> +#define FRONT_PAGE_KEY_DRIVER 0x2000
>
> typedef struct {
> EFI_STRING_ID PromptId;
> EFI_STRING_ID HelpId;
> EFI_STRING_ID DevicePathId;
> @@ -654,11 +655,11 @@ UiListThirdPartyDrivers (
> StartOpCodeHandle,
> 0,
> gHiiDriverList[Index].PromptId,
> gHiiDriverList[Index].HelpId,
> 0,
> - 0,
> + (EFI_QUESTION_ID) (Index + FRONT_PAGE_KEY_DRIVER),
> 0,
> &gHiiDriverList[Index].FormSetGuid,
> gHiiDriverList[Index].DevicePathId
> );
>
> --
> 1.9.5.msysgit.1
next prev parent reply other threads:[~2016-09-09 2:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-08 9:09 [patch] MdeModulePkg/HiiDB: Handle the "&READONLY" tag in <KeywordResp> correctly Dandan Bi
2016-09-08 9:09 ` [patch] MdeModulePkg/UiApp: Fix incorrect question id Dandan Bi
2016-09-09 2:17 ` Dong, Eric [this message]
2016-09-12 2:35 ` Gao, Liming
2016-09-09 2:16 ` [patch] MdeModulePkg/HiiDB: Handle the "&READONLY" tag in <KeywordResp> correctly Dong, Eric
2016-09-12 2:29 ` Gao, Liming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ED077930C258884BBCB450DB737E6622485AC637@shsmsx102.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox