Reviewed-by: Jaben Carsey <jaben.car...@intel.com>

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of
> Shi, Steven
> Sent: Tuesday, June 28, 2016 8:19 AM
> To: edk2-devel@lists.01.org; Gao, Liming <liming....@intel.com>
> Cc: Kinney, Michael D <michael.d.kin...@intel.com>; af...@apple.com
> Subject: [edk2] [PATCH 7/7] ShellPkg-UefiShellTftpCommandLib: Replace
> compiler builtin
> Importance: High
> 
> Use explicit CopyMem to replace compiler builtin to do the structure
> values assignment.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Steven Shi <steven....@intel.com>
> ---
>  ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  mode change 100644 => 100755
> ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
> 
> diff --git a/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
> b/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
> old mode 100644
> new mode 100755
> index 666ee9d..5c50797
> --- a/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
> +++ b/ShellPkg/Library/UefiShellTftpCommandLib/Tftp.c
> @@ -342,7 +342,7 @@ ShellCommandRunTftp (
>      goto Error;
>    }
> 
> -  Mtftp4ConfigData = DefaultMtftp4ConfigData;
> +  CopyMem (&Mtftp4ConfigData, &DefaultMtftp4ConfigData, sizeof
> (EFI_MTFTP4_CONFIG_DATA));
> 
>    //
>    // Check the host IPv4 address
> --
> 2.7.4
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to