From: "gaoliming" <gaoliming@byosoft.com.cn>
To: <devel@edk2.groups.io>, <aladyshev22@gmail.com>
Cc: <dandan.bi@intel.com>, <eric.dong@intel.com>
Subject: 回复: [edk2-devel] [PATCH] MdeModulePkg/UefiHiiLib: Fix typo
Date: Wed, 21 Sep 2022 09:00:38 +0800 [thread overview]
Message-ID: <007801d8cd55$902b9840$b082c8c0$@byosoft.com.cn> (raw)
In-Reply-To: <20220901155407.1838-1-aladyshev22@gmail.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Konstantin
> Aladyshev
> 发送时间: 2022年9月1日 23:54
> 收件人: devel@edk2.groups.io
> 抄送: dandan.bi@intel.com; eric.dong@intel.com; Konstantin Aladyshev
> <aladyshev22@gmail.com>
> 主题: [edk2-devel] [PATCH] MdeModulePkg/UefiHiiLib: Fix typo
>
> Fix typo in the set default value action define name:
> DEFAUTL -> DEFAULT
>
> Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
> ---
> MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
> b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
> index 63a37ab59a..5821bd5488 100644
> --- a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
> +++ b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
> @@ -12,7 +12,7 @@
> #define NAME_CONFIG_STRING_TYPE 0x01
>
> #define PATH_CONFIG_STRING_TYPE 0x02
>
>
>
> -#define ACTION_SET_DEFAUTL_VALUE 0x01
>
> +#define ACTION_SET_DEFAULT_VALUE 0x01
>
> #define ACTION_VALIDATE_SETTING 0x02
>
>
>
> #define HII_LIB_DEFAULT_VARSTORE_SIZE 0x200
>
> @@ -2350,7 +2350,7 @@ InternalHiiIfrValueAction (
> //
>
> // Only support set default and validate setting action.
>
> //
>
> - if ((ActionType != ACTION_SET_DEFAUTL_VALUE) && (ActionType !=
> ACTION_VALIDATE_SETTING)) {
>
> + if ((ActionType != ACTION_SET_DEFAULT_VALUE) && (ActionType !=
> ACTION_VALIDATE_SETTING)) {
>
> return FALSE;
>
> }
>
>
>
> @@ -2511,7 +2511,7 @@ InternalHiiIfrValueAction (
> VarGuid,
>
> VarName,
>
> DevicePath,
>
> - (ActionType ==
> ACTION_SET_DEFAUTL_VALUE) ? &DefaultId : NULL, // it can be NULL to
> get the current setting.
>
> + (ActionType ==
> ACTION_SET_DEFAULT_VALUE) ? &DefaultId : NULL, // it can be NULL to
> get the current setting.
>
> &ConfigResp
>
> );
>
>
>
> @@ -2534,7 +2534,7 @@ InternalHiiIfrValueAction (
> // 4. Set the default configuration information or Validate current
> setting by parse IFR code.
>
> // Current Setting is in ConfigResp, will be set into buffer, then
> check it again.
>
> //
>
> - if (ActionType == ACTION_SET_DEFAUTL_VALUE) {
>
> + if (ActionType == ACTION_SET_DEFAULT_VALUE) {
>
> //
>
> // Set the default configuration information.
>
> //
>
> @@ -2716,7 +2716,7 @@ HiiSetToDefaults (
> IN UINT16 DefaultId
>
> )
>
> {
>
> - return InternalHiiIfrValueAction (Request, DefaultId,
> ACTION_SET_DEFAUTL_VALUE);
>
> + return InternalHiiIfrValueAction (Request, DefaultId,
> ACTION_SET_DEFAULT_VALUE);
>
> }
>
>
>
> /**
>
> --
> 2.25.1
>
>
>
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#93056): https://edk2.groups.io/g/devel/message/93056
> Mute This Topic: https://groups.io/mt/93398909/4905953
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub
> [gaoliming@byosoft.com.cn]
> -=-=-=-=-=-=
>
prev parent reply other threads:[~2022-09-21 1:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 15:54 [PATCH] MdeModulePkg/UefiHiiLib: Fix typo Konstantin Aladyshev
2022-09-21 1:00 ` gaoliming [this message]
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='007801d8cd55$902b9840$b082c8c0$@byosoft.com.cn' \
--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