Since the patch break the GCC build, I will check it soon. Reviewed-by: Jiaxin Wu <jiaxin...@intel.com>
> -----Original Message----- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Zhang Lubo > Sent: Friday, April 22, 2016 4:55 PM > To: edk2-devel@lists.01.org > Subject: [edk2] [patch] NetworkPkg: Fix GCC code build error of iSCSI driver. > > Fix GCC build error when refine the codes of iSCSI driver. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Zhang Lubo <lubo.zh...@intel.com> > --- > NetworkPkg/IScsiDxe/IScsiMisc.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/NetworkPkg/IScsiDxe/IScsiMisc.c > b/NetworkPkg/IScsiDxe/IScsiMisc.c index 2406717..a1f2672 100644 > --- a/NetworkPkg/IScsiDxe/IScsiMisc.c > +++ b/NetworkPkg/IScsiDxe/IScsiMisc.c > @@ -857,21 +857,23 @@ IScsiCreateDriverData ( > /** > Clean the iSCSI driver data. > > @param[in] Private The iSCSI driver data. > > - @retval EFI_SUCCES The clean operation is successful. > + @retval EFI_SUCCESS The clean operation is successful. > @retval Others Other errors as indicated. > > **/ > EFI_STATUS > IScsiCleanDriverData ( > IN ISCSI_DRIVER_DATA *Private > ) > { > EFI_STATUS Status; > > + Status = EFI_SUCCESS; > + > if (Private->DevicePath != NULL) { > Status = gBS->UninstallProtocolInterface ( > Private->ExtScsiPassThruHandle, > &gEfiDevicePathProtocolGuid, > Private->DevicePath > -- > 1.9.5.msysgit.1 > > _______________________________________________ > 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