This is my idea to avoid the duplicated mail. I also include Ard and Laszlo to collect the feedback on how to handle the partial update in the patchset.
Thanks Liming > -----Original Message----- > From: Wu, Jiaxin > Sent: Friday, January 18, 2019 1:32 PM > To: Fu, Siyuan <siyuan...@intel.com>; Wu, Hao A <hao.a...@intel.com>; > edk2-devel@lists.01.org > Cc: Ye, Ting <ting...@intel.com>; Gao, Liming <liming....@intel.com> > Subject: RE: [PATCH v2 1/3] MdeModulePkg/Dhcp4Dxe: Remove unnecessary NULL > pointer check. > > Just confirmed with Liming, we don't need to seed the full series patches if > only one is updated. > > Thanks, > jiaxin > > > -----Original Message----- > > From: Fu, Siyuan > > Sent: Friday, January 18, 2019 1:29 PM > > To: Wu, Hao A <hao.a...@intel.com>; Wu, Jiaxin <jiaxin...@intel.com>; > > edk2-devel@lists.01.org > > Cc: Ye, Ting <ting...@intel.com>; Gao, Liming <liming....@intel.com> > > Subject: RE: [PATCH v2 1/3] MdeModulePkg/Dhcp4Dxe: Remove > > unnecessary NULL pointer check. > > > > Hi, Jiaxin > > > > Yes the full patch series is needed for a v2 version. > > > > And also, why you removed the "(Instance->Token != NULL)" check in the if > > condition? > > > > BestRegards > > Fu Siyuan > > > > > > > -----Original Message----- > > > From: Wu, Hao A > > > Sent: Friday, January 18, 2019 1:22 PM > > > To: Wu, Jiaxin <jiaxin...@intel.com>; edk2-devel@lists.01.org > > > Cc: Ye, Ting <ting...@intel.com>; Fu, Siyuan <siyuan...@intel.com>; Gao, > > > Liming <liming....@intel.com> > > > Subject: RE: [PATCH v2 1/3] MdeModulePkg/Dhcp4Dxe: Remove > > unnecessary NULL > > > pointer check. > > > > > > Hi Jiaxin, > > > > > > A comment that is not related with the content of the patch itself: > > > Please help to send the full patch series when a new version is needed. > > > > > > Best Regards, > > > Hao Wu > > > > > > > -----Original Message----- > > > > From: Wu, Jiaxin > > > > Sent: Friday, January 18, 2019 1:16 PM > > > > To: edk2-devel@lists.01.org > > > > Cc: Ye, Ting; Fu, Siyuan; Wu, Hao A; Gao, Liming; Wu, Jiaxin > > > > Subject: [PATCH v2 1/3] MdeModulePkg/Dhcp4Dxe: Remove > > unnecessary > > > > NULL pointer check. > > > > > > > > v2: The DHCP Instance might be destroyed in PxeDhcpDone. So, > > > > we need safe-delete. > > > > > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1469 > > > > > > > > Since the value of Instance is retrieved from the list Entry, > > > > it can't be the NULL pointer, so just remove the unnecessary > > > > check. > > > > > > > > Cc: Ye Ting <ting...@intel.com> > > > > Cc: Fu Siyuan <siyuan...@intel.com> > > > > Cc: Wu Hao A <hao.a...@intel.com> > > > > Cc: Gao Liming <liming....@intel.com> > > > > Contributed-under: TianoCore Contribution Agreement 1.1 > > > > Signed-off-by: Wu Jiaxin <jiaxin...@intel.com> > > > > --- > > > > MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c | 11 ++++----- > > -- > > > > 1 file changed, 4 insertions(+), 7 deletions(-) > > > > > > > > diff --git a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c > > > > b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c > > > > index 98a22a77b4..780f8b4224 100644 > > > > --- a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c > > > > +++ b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c > > > > @@ -1,9 +1,9 @@ > > > > /** @file > > > > EFI DHCP protocol implementation. > > > > > > > > -Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> > > > > +Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> > > > > This program and the accompanying materials > > > > are licensed and made available under the terms and conditions of the > > BSD > > > > License > > > > which accompanies this distribution. The full text of the license may > > > > be > > > > found at > > > > http://opensource.org/licenses/bsd-license.php > > > > > > > > @@ -1646,16 +1646,13 @@ ON_EXIT: > > > > // > > > > // Iterate through all the DhcpSb Children. > > > > // > > > > NET_LIST_FOR_EACH_SAFE (Entry, Next, &DhcpSb->Children) { > > > > Instance = NET_LIST_USER_STRUCT (Entry, DHCP_PROTOCOL, Link); > > > > - > > > > - if ((Instance != NULL) && (Instance->Token != NULL)) { > > > > - Instance->Timeout--; > > > > - if (Instance->Timeout == 0) { > > > > - PxeDhcpDone (Instance); > > > > - } > > > > + Instance->Timeout--; > > > > + if (Instance->Timeout == 0) { > > > > + PxeDhcpDone (Instance); > > > > } > > > > } > > > > > > > > return ; > > > > > > > > -- > > > > 2.17.1.windows.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel