[edk2] [Patch] ShellPkg: Fix a build error in Ping6 shell command.

fanwang2 posted 1 patch 7 years ago
Failed in applying to current master (apply log)
ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[edk2] [Patch] ShellPkg: Fix a build error in Ping6 shell command.
Posted by fanwang2 7 years ago
From: Wang Fan <fan.wang@intel.com>

Last check in involved a build error, this patch is to
fix this issue.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
---
 ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
index fa27c82..2cdf484 100644
--- a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
+++ b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
@@ -764,11 +764,11 @@ Ping6CreateIpInstance (
   EFI_IPv6_ADDRESS                 *Addr;
   UINTN                            AddrIndex;
 
   HandleBuffer      = NULL;
   UnspecifiedSrc    = FALSE;
-  MediaStatus       = EFI_SUCCESS
+  MediaStatus       = EFI_SUCCESS;
   Ip6Sb             = NULL;
   IfInfo            = NULL;
   IfInfoSize        = 0;
 
   //
-- 
1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch] ShellPkg: Fix a build error in Ping6 shell command.
Posted by Ni, Ruiyu 7 years ago
On 12/18/2017 5:29 PM, fanwang2 wrote:
> From: Wang Fan <fan.wang@intel.com>
> 
> Last check in involved a build error, this patch is to
> fix this issue.
> 
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Wang Fan <fan.wang@intel.com>
> ---
>   ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> index fa27c82..2cdf484 100644
> --- a/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> +++ b/ShellPkg/Library/UefiShellNetwork2CommandsLib/Ping6.c
> @@ -764,11 +764,11 @@ Ping6CreateIpInstance (
>     EFI_IPv6_ADDRESS                 *Addr;
>     UINTN                            AddrIndex;
>   
>     HandleBuffer      = NULL;
>     UnspecifiedSrc    = FALSE;
> -  MediaStatus       = EFI_SUCCESS
> +  MediaStatus       = EFI_SUCCESS;
>     Ip6Sb             = NULL;
>     IfInfo            = NULL;
>     IfInfoSize        = 0;
>   
>     //
> 
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

-- 
Thanks,
Ray
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel