[edk2-devel] [PATCH 38/79] NetworkPkg/HttpBootDxe: Fix a typo in variable name

Philippe Mathieu-Daudé posted 79 patches 6 years, 2 months ago
Only 39 patches received!
There is a newer version of this series
[edk2-devel] [PATCH 38/79] NetworkPkg/HttpBootDxe: Fix a typo in variable name
Posted by Philippe Mathieu-Daudé 6 years, 2 months ago
Correctly write 'Initialized'.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
---
 NetworkPkg/HttpBootDxe/HttpBootConfig.h | 2 +-
 NetworkPkg/HttpBootDxe/HttpBootConfig.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/NetworkPkg/HttpBootDxe/HttpBootConfig.h b/NetworkPkg/HttpBootDxe/HttpBootConfig.h
index ce2116e248b5..84eab425b04f 100644
--- a/NetworkPkg/HttpBootDxe/HttpBootConfig.h
+++ b/NetworkPkg/HttpBootDxe/HttpBootConfig.h
@@ -32,7 +32,7 @@ extern   UINT8                            HttpBootConfigVfrBin[];
 
 struct _HTTP_BOOT_FORM_CALLBACK_INFO {
   UINT32                           Signature;
-  BOOLEAN                          Initilized;
+  BOOLEAN                          Initialized;
   EFI_HANDLE                       ChildHandle;
   EFI_DEVICE_PATH_PROTOCOL         *HiiVendorDevicePath;
   EFI_HII_HANDLE                   RegisteredHandle;
diff --git a/NetworkPkg/HttpBootDxe/HttpBootConfig.c b/NetworkPkg/HttpBootDxe/HttpBootConfig.c
index 245bd49a621a..646c907b1215 100644
--- a/NetworkPkg/HttpBootDxe/HttpBootConfig.c
+++ b/NetworkPkg/HttpBootDxe/HttpBootConfig.c
@@ -552,7 +552,7 @@ HttpBootConfigFormInit (
 
   CallbackInfo = &Private->CallbackInfo;
 
-  if (CallbackInfo->Initilized) {
+  if (CallbackInfo->Initialized) {
     return EFI_SUCCESS;
   }
 
@@ -632,7 +632,7 @@ HttpBootConfigFormInit (
     FreePool (MacString);
     FreePool (OldMenuString);
 
-    CallbackInfo->Initilized = TRUE;
+    CallbackInfo->Initialized = TRUE;
     return EFI_SUCCESS;
   }
 
-- 
2.21.0


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51643): https://edk2.groups.io/g/devel/message/51643
Mute This Topic: https://groups.io/mt/65773989/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH 38/79] NetworkPkg/HttpBootDxe: Fix a typo in variable name
Posted by Maciej Rabeda 6 years, 2 months ago
Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com>

On 03-Dec-19 17:15, Philippe Mathieu-Daudé wrote:
> Correctly write 'Initialized'.
>
> Cc: Jiaxin Wu <jiaxin.wu@intel.com>
> Cc: Siyuan Fu <siyuan.fu@intel.com>
> Cc: Maciej Rabeda <maciej.rabeda@intel.com>
> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
> ---
>   NetworkPkg/HttpBootDxe/HttpBootConfig.h | 2 +-
>   NetworkPkg/HttpBootDxe/HttpBootConfig.c | 4 ++--
>   2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/NetworkPkg/HttpBootDxe/HttpBootConfig.h b/NetworkPkg/HttpBootDxe/HttpBootConfig.h
> index ce2116e248b5..84eab425b04f 100644
> --- a/NetworkPkg/HttpBootDxe/HttpBootConfig.h
> +++ b/NetworkPkg/HttpBootDxe/HttpBootConfig.h
> @@ -32,7 +32,7 @@ extern   UINT8                            HttpBootConfigVfrBin[];
>   
>   struct _HTTP_BOOT_FORM_CALLBACK_INFO {
>     UINT32                           Signature;
> -  BOOLEAN                          Initilized;
> +  BOOLEAN                          Initialized;
>     EFI_HANDLE                       ChildHandle;
>     EFI_DEVICE_PATH_PROTOCOL         *HiiVendorDevicePath;
>     EFI_HII_HANDLE                   RegisteredHandle;
> diff --git a/NetworkPkg/HttpBootDxe/HttpBootConfig.c b/NetworkPkg/HttpBootDxe/HttpBootConfig.c
> index 245bd49a621a..646c907b1215 100644
> --- a/NetworkPkg/HttpBootDxe/HttpBootConfig.c
> +++ b/NetworkPkg/HttpBootDxe/HttpBootConfig.c
> @@ -552,7 +552,7 @@ HttpBootConfigFormInit (
>   
>     CallbackInfo = &Private->CallbackInfo;
>   
> -  if (CallbackInfo->Initilized) {
> +  if (CallbackInfo->Initialized) {
>       return EFI_SUCCESS;
>     }
>   
> @@ -632,7 +632,7 @@ HttpBootConfigFormInit (
>       FreePool (MacString);
>       FreePool (OldMenuString);
>   
> -    CallbackInfo->Initilized = TRUE;
> +    CallbackInfo->Initialized = TRUE;
>       return EFI_SUCCESS;
>     }
>   

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51740): https://edk2.groups.io/g/devel/message/51740
Mute This Topic: https://groups.io/mt/65773989/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-