From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by mx.groups.io with SMTP id smtpd.web10.14095.1662047743201957167 for ; Thu, 01 Sep 2022 08:55:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=kDbbh41u; spf=pass (domain: gmail.com, ip: 209.85.167.53, mailfrom: aladyshev22@gmail.com) Received: by mail-lf1-f53.google.com with SMTP id j14so14727837lfu.4 for ; Thu, 01 Sep 2022 08:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=fS8XuRa91n7MnGheAZjeTW04IUQvSevg2joRwBq1NIY=; b=kDbbh41uPGKqCbW4W5IzoHRSwy+LllRwZlVQ2oIQMU8rC6A6W5lnqgSWWQaqSiyT98 NC+xQqCrmG91aDztDnw3k2sKBlDW/FjqEcXbAq+6cQp2WMnCDglMCDJZVGgJe3M9amvl oauZaI1bqK2lnuMXMabCDVsCMP6gSVz8GUjL63yLoU6sSwkOPpgQkKVMoh8WKjSiZg7j HqDBLXyQMWswqAdw2uof0orj2NZWhyqeOXIIwBloMgxz/HWSS9x+3+uRcmAnn2ctAo58 t78B59rei1IxmqGhO9KWZn4fI3md/PM98XX7OmNPh4jui9JIdQ2f0zWtiJMahmZ8qctO FWVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=fS8XuRa91n7MnGheAZjeTW04IUQvSevg2joRwBq1NIY=; b=VuynCl17xIcxWcmLAsW0rq9lBRMuQft021fWlpx1hf1JfQc+ZZIfvcjst7W9mUTPMq sNEal+wcD/YhAK43jtWsTyN1723tBZSpGhkER5XhG0tzGP8DTdgbyFMxORJdwhdu2tQA +/GZ6/Y8+/Mn/PtjbwF1hUA8034sx9dIpk3/Nk5mJk0d44EN0aUwv2h7/JnUKLBamIxg WTGa+QrCdOCvY+VTIY/vuQUZsU6eKoFTWJ6m2K7tzQKegcJmd9fMUz6FVkEsz0kvw3TK dOjWox0iVVm2gNnoX2f0blhrHV3CRS1VZKkhUR7oWaA8hN4CHf9gbLMSW0oaczgxf2QO vfqg== X-Gm-Message-State: ACgBeo3cciFo+JHgJcAFrDcYKMNvyb/82X/p3PHcO4KlqEI3n/ZfLiQZ VYMmsaqjjR6ngnR/pmt9wlBhxNmdPZw= X-Google-Smtp-Source: AA6agR6+4HJ2XlzRFbzwsheLK/3SLTXu4KbFezjf1TSjPcWHU6WVlyq19m33DJfFDTDFm7wS4yzT9A== X-Received: by 2002:a05:6512:3d09:b0:48b:9512:ade3 with SMTP id d9-20020a0565123d0900b0048b9512ade3mr11738446lfv.390.1662047741113; Thu, 01 Sep 2022 08:55:41 -0700 (PDT) Return-Path: Received: from PC10319.67 ([82.97.198.254]) by smtp.googlemail.com with ESMTPSA id s11-20020a056512214b00b0049461118819sm1881682lfr.77.2022.09.01.08.55.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 08:55:40 -0700 (PDT) From: "Konstantin Aladyshev" To: devel@edk2.groups.io Cc: dandan.bi@intel.com, eric.dong@intel.com, Konstantin Aladyshev Subject: [PATCH] MdeModulePkg/UefiHiiLib: Fix typo Date: Thu, 1 Sep 2022 18:54:07 +0300 Message-Id: <20220901155407.1838-1-aladyshev22@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Fix typo in the set default value action define name: DEFAUTL -> DEFAULT Signed-off-by: Konstantin Aladyshev --- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c b/MdeModulePkg/Librar= y/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=0D #define PATH_CONFIG_STRING_TYPE 0x02=0D =0D -#define ACTION_SET_DEFAUTL_VALUE 0x01=0D +#define ACTION_SET_DEFAULT_VALUE 0x01=0D #define ACTION_VALIDATE_SETTING 0x02=0D =0D #define HII_LIB_DEFAULT_VARSTORE_SIZE 0x200=0D @@ -2350,7 +2350,7 @@ InternalHiiIfrValueAction ( //=0D // Only support set default and validate setting action.=0D //=0D - if ((ActionType !=3D ACTION_SET_DEFAUTL_VALUE) && (ActionType !=3D ACTIO= N_VALIDATE_SETTING)) {=0D + if ((ActionType !=3D ACTION_SET_DEFAULT_VALUE) && (ActionType !=3D ACTIO= N_VALIDATE_SETTING)) {=0D return FALSE;=0D }=0D =0D @@ -2511,7 +2511,7 @@ InternalHiiIfrValueAction ( VarGuid,=0D VarName,=0D DevicePath,=0D - (ActionType =3D=3D ACTION_SET_DEFAUTL_VA= LUE) ? &DefaultId : NULL, // it can be NULL to get the current setting.=0D + (ActionType =3D=3D ACTION_SET_DEFAULT_VA= LUE) ? &DefaultId : NULL, // it can be NULL to get the current setting.=0D &ConfigResp=0D );=0D =0D @@ -2534,7 +2534,7 @@ InternalHiiIfrValueAction ( // 4. Set the default configuration information or Validate current se= tting by parse IFR code.=0D // Current Setting is in ConfigResp, will be set into buffer, then = check it again.=0D //=0D - if (ActionType =3D=3D ACTION_SET_DEFAUTL_VALUE) {=0D + if (ActionType =3D=3D ACTION_SET_DEFAULT_VALUE) {=0D //=0D // Set the default configuration information.=0D //=0D @@ -2716,7 +2716,7 @@ HiiSetToDefaults ( IN UINT16 DefaultId=0D )=0D {=0D - return InternalHiiIfrValueAction (Request, DefaultId, ACTION_SET_DEFAUTL= _VALUE);=0D + return InternalHiiIfrValueAction (Request, DefaultId, ACTION_SET_DEFAULT= _VALUE);=0D }=0D =0D /**=0D --=20 2.25.1