From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.120]) by mx.groups.io with SMTP id smtpd.web11.2037.1578044482261458614 for ; Fri, 03 Jan 2020 01:41:22 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eEGBgC1g; spf=pass (domain: redhat.com, ip: 207.211.31.120, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578044481; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6qzBZr+zr/FngPVNDzZoBk3TRRTgcPh/wqyKoOHQSPg=; b=eEGBgC1gUo4tesGi7n9izoIIpHTdwzm7iWQft8vtPg74C66gORHe9VW/qDxeu5apNXny3Q V4PMEAVrnqPdnSNTPjf/DyMLKpz+Bofn50arL+eXxRkb7LskL3lm61pYZHDu1tZEQ8I5Hz NtY6rDEzSTBnGdzq5bgntX3B4bJFaf8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-259-dccmhMj0NXqF3Jx1a4ZpvA-1; Fri, 03 Jan 2020 04:41:17 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 970C856BDD; Fri, 3 Jan 2020 09:41:16 +0000 (UTC) Received: from x1w.redhat.com (ovpn-116-190.ams2.redhat.com [10.36.116.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 80CC560C18; Fri, 3 Jan 2020 09:41:14 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Jiaxin Wu , Siyuan Fu , Maciej Rabeda , Philippe Mathieu-Daude Subject: [PATCH v2 52/78] NetworkPkg/UefiPxeBcDxe: Fix various typos Date: Fri, 3 Jan 2020 10:07:46 +0100 Message-Id: <20200103090812.10592-53-philmd@redhat.com> In-Reply-To: <20200103090812.10592-1-philmd@redhat.com> References: <20200103090812.10592-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: dccmhMj0NXqF3Jx1a4ZpvA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Maciej Rabeda Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.h | 2 +- NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h | 8 ++++---- NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.h | 4 ++-- NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h | 16 ++++++++-------- NetworkPkg/UefiPxeBcDxe/PxeBcBoot.c | 4 ++-- NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c | 10 +++++----- NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c | 18 +++++++++--------- NetworkPkg/UefiPxeBcDxe/PxeBcDriver.c | 4 ++-- NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c | 10 +++++----- NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.c | 12 ++++++------ NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c | 8 ++++---- 11 files changed, 48 insertions(+), 48 deletions(-) diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.h b/NetworkPkg/UefiPxeBcDxe= /PxeBcDhcp4.h index 69b0502bbcd9..879da18a88e9 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.h +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.h @@ -60,7 +60,7 @@ =20 // // Dhcp4 and Dhcp6 share this definition, and corresponding -// relatioinship is as follows: +// relationship is as follows: // // Dhcp4Discover <> Dhcp6Solicit // Dhcp4Offer <> Dhcp6Advertise diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h b/NetworkPkg/UefiPxeBcDxe= /PxeBcDhcp6.h index ca40fdc9d336..ae4be775e85d 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h @@ -123,7 +123,7 @@ typedef struct { =20 @retval EFI_ABORTED User canceled the operation. @retval EFI_SUCCESS Selected the boot menu successfully. - @retval EFI_NOT_READY Read the input key from the keybroad has not fin= ish. + @retval EFI_NOT_READY Read the input key from the keyboard has not fin= ish. =20 **/ EFI_STATUS @@ -174,7 +174,7 @@ PxeBcParseDhcp6Packet ( @param[in] Private The pointer to the PxeBc private data. @param[in] Address The pointer to the ready address. =20 - @retval EFI_SUCCESS Registered the address succesfully. + @retval EFI_SUCCESS Registered the address successfully. @retval Others Failed to register the address. =20 **/ @@ -226,8 +226,8 @@ PxeBcDhcp6Discover ( =20 @param[in] Private The pointer to PXEBC_PRIVATE_DATA. =20 - @retval EFI_SUCCESS Switch the IP policy succesfully. - @retval Others Unexpect error happened. + @retval EFI_SUCCESS Switch the IP policy successfully. + @retval Others Unexpected error happened. =20 **/ EFI_STATUS diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.h b/NetworkPkg/UefiPxeBcDxe= /PxeBcMtftp.h index 9a011e046543..7356c0ae9e58 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.h +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.h @@ -33,7 +33,7 @@ @param[in, out] BufferSize Pointer to buffer size. =20 @retval EFI_SUCCESS Successfully obtained the size of file. - @retval EFI_NOT_FOUND Parse the tftp ptions failed. + @retval EFI_NOT_FOUND Parse the tftp options failed. @retval EFI_DEVICE_ERROR The network device encountered an error durin= g this operation. @retval Others Did not obtain the size of the file. =20 @@ -119,7 +119,7 @@ PxeBcTftpWriteFile ( @param[in, out] BufferSize Pointer to buffer size. @param[in] DontUseBuffer Indicates whether with a receive buffer. =20 - @retval EFI_SUCCES Successfully obtained the data from the file = included in directory. + @retval EFI_SUCCESS Successfully obtained the data from the file = included in directory. @retval EFI_DEVICE_ERROR The network device encountered an error durin= g this operation. @retval Others Operation failed. =20 diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h b/NetworkPkg/UefiPxeBcD= xe/PxeBcSupport.h index 9264cd92c467..312572129e78 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.h @@ -21,7 +21,7 @@ =20 =20 /** - Flush the previous configration using the new station Ip address. + Flush the previous configuration using the new station Ip address. =20 @param[in] Private Pointer to PxeBc private data. @param[in] StationIp Pointer to the station Ip address. @@ -59,7 +59,7 @@ PxeBcCommonNotify ( =20 @param Mode Pointer to EFI_PXE_BASE_CODE_MODE. @param Ip4Addr The Ip4 address for resolution. - @param MacAddress The resoluted MAC address if the resolution is su= ccessful. + @param MacAddress The resolved MAC address if the resolution is suc= cessful. The value is undefined if resolution fails. =20 @retval TRUE Found a matched entry. @@ -156,7 +156,7 @@ PxeBcConfigUdp4Write ( @param[in] StationIp Pointer to the station address. @param[in, out] SrcPort Pointer to the source port. =20 - @retval EFI_SUCCESS Successfuly configured this instan= ce. + @retval EFI_SUCCESS Successfully configured this insta= nce. @retval Others Failed to configure this instance. =20 **/ @@ -234,7 +234,7 @@ PxeBcUdp6Write ( @param[in] Session Pointer to the current UDPv4 session. @param[in] OpFlags Operation flag for UdpRead/UdpWrite. =20 - @retval TRUE Succesfully passed the Ip filter. + @retval TRUE Successfully passed the Ip filter. @retval FALSE Failed to pass the Ip filter. =20 **/ @@ -254,7 +254,7 @@ PxeBcCheckByIpFilter ( @param[in, out] DestIp Pointer to the dest Ip address. @param[in] OpFlags Operation flag for UdpRead/UdpWrite. =20 - @retval TRUE Succesfully passed the IPv4 filter. + @retval TRUE Successfully passed the IPv4 filter. @retval FALSE Failed to pass the IPv4 filter. =20 **/ @@ -275,7 +275,7 @@ PxeBcCheckByDestIp ( @param[in, out] DestPort Pointer to the destination port. @param[in] OpFlags Operation flag for UdpRead/UdpWrite. =20 - @retval TRUE Succesfully passed the IPv4 filter. + @retval TRUE Successfully passed the IPv4 filter. @retval FALSE Failed to pass the IPv4 filter. =20 **/ @@ -296,7 +296,7 @@ PxeBcCheckByDestPort ( @param[in, out] SrcIp Pointer to the source Ip address. @param[in] OpFlags Operation flag for UdpRead/UdpWrite. =20 - @retval TRUE Succesfully passed the IPv4 filter. + @retval TRUE Successfully passed the IPv4 filter. @retval FALSE Failed to pass the IPv4 filter. =20 **/ @@ -317,7 +317,7 @@ PxeBcFilterBySrcIp ( @param[in, out] SrcPort Pointer to the source port. @param[in] OpFlags Operation flag for UdpRead/UdpWrite. =20 - @retval TRUE Succesfully passed the IPv4 filter. + @retval TRUE Successfully passed the IPv4 filter. @retval FALSE Failed to pass the IPv4 filter. =20 **/ diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcBoot.c b/NetworkPkg/UefiPxeBcDxe/= PxeBcBoot.c index a982d3a29d9b..10bbb06f7593 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcBoot.c +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcBoot.c @@ -257,7 +257,7 @@ ON_EXIT: =20 @retval EFI_ABORTED User cancel operation. @retval EFI_SUCCESS Select the boot menu success. - @retval EFI_NOT_READY Read the input key from the keybroad has not fin= ish. + @retval EFI_NOT_READY Read the input key from the keyboard has not fin= ish. =20 **/ EFI_STATUS @@ -970,7 +970,7 @@ PxeBcDiscoverBootFile ( @param[in, out] Private Pointer to PxeBc private data. @param[out] NewMakeCallback If TRUE, it is a new callback. Otherwise, it is not new callback. - @retval EFI_SUCCESS PxeBaseCodeCallbackProtocol installed succe= sfully. + @retval EFI_SUCCESS PxeBaseCodeCallbackProtocol installed succe= ssfully. @retval Others Failed to install PxeBaseCodeCallbackProtoc= ol. =20 **/ diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c b/NetworkPkg/UefiPxeBcDxe= /PxeBcDhcp4.c index bb5e53b5bf43..fb63cf61a97d 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c @@ -78,7 +78,7 @@ PxeBcParseDhcp4Options ( =20 =20 /** - Parse the PXE vender options and extract the information from them. + Parse the PXE vendor options and extract the information from them. =20 @param[in] Dhcp4Option Pointer to vendor options in buffer. @param[in] VendorOption Pointer to structure to store information= in vendor options. @@ -312,7 +312,7 @@ PxeBcBuildDhcp4Options ( =20 if (EFI_ERROR (NetLibGetSystemGuid ((EFI_GUID *) OptEnt.Uuid->Guid))) { // - // Zero the Guid to indicate NOT programable if failed to get system G= uid. + // Zero the Guid to indicate NOT programmable if failed to get system = Guid. // DEBUG ((EFI_D_WARN, "PXE: Failed to read system GUID from the smbios t= able!\n")); ZeroMem (OptEnt.Uuid->Guid, sizeof (EFI_GUID)); @@ -1125,7 +1125,7 @@ PxeBcHandleDhcp4Offer ( } } else { // - // Othewise, the bootfile name must be included in DhcpOnly offer. + // Otherwise, the bootfile name must be included in DhcpOnly offer. // if (Options[PXEBC_DHCP4_TAG_INDEX_BOOTFILE] =3D=3D NULL) { Status =3D EFI_NOT_FOUND; @@ -1275,7 +1275,7 @@ PxeBcDhcp4CallBack ( // if (EFI_ERROR (NetLibGetSystemGuid ((EFI_GUID *) Packet->Dhcp4.Heade= r.ClientHwAddr))) { // - // Zero the Guid to indicate NOT programable if failed to get syst= em Guid. + // Zero the Guid to indicate NOT programmable if failed to get sys= tem Guid. // DEBUG ((EFI_D_WARN, "PXE: Failed to read system GUID from the smbi= os table!\n")); ZeroMem (Packet->Dhcp4.Header.ClientHwAddr, sizeof (EFI_GUID)); @@ -1464,7 +1464,7 @@ PxeBcDhcp4Discover ( if (Mode->SendGUID) { if (EFI_ERROR (NetLibGetSystemGuid ((EFI_GUID *) Token.Packet->Dhcp4.H= eader.ClientHwAddr))) { // - // Zero the Guid to indicate NOT programable if failed to get system= Guid. + // Zero the Guid to indicate NOT programmable if failed to get syste= m Guid. // DEBUG ((EFI_D_WARN, "PXE: Failed to read system GUID from the smbios= table!\n")); ZeroMem (Token.Packet->Dhcp4.Header.ClientHwAddr, sizeof (EFI_GUID))= ; diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c b/NetworkPkg/UefiPxeBcDxe= /PxeBcDhcp6.c index 1164fbbdefed..8d71143b79f3 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c @@ -25,7 +25,7 @@ EFI_IPv6_ADDRESS mAllDhcpRelayAndServersAddress =3D {{0= xFF, 2, 0, 0, 0, 0, 0, 0, @param[in] OptTag The required option tag. =20 @retval NULL Failed to parse the required option. - @retval Others The postion of the required option in buffer. + @retval Others The position of the required option in buffer. =20 **/ EFI_DHCP6_PACKET_OPTION * @@ -370,7 +370,7 @@ Exit: =20 @retval EFI_ABORTED User cancel operation. @retval EFI_SUCCESS Selected the boot menu successfully. - @retval EFI_NOT_READY Read the input key from the keybroad has not fin= ish. + @retval EFI_NOT_READY Read the input key from the keyboard has not fin= ish. =20 **/ EFI_STATUS @@ -674,7 +674,7 @@ PxeBcParseDhcp6Packet ( =20 // // The offer with assigned client address is NOT a proxy offer. - // An ia_na option, embeded with valid ia_addr option and a status_code = of success. + // An ia_na option, embedded with valid ia_addr option and a status_code= of success. // Option =3D Options[PXEBC_DHCP6_IDX_IA_NA]; if (Option !=3D NULL) { @@ -1431,7 +1431,7 @@ PxeBcHandleDhcp6Offer ( } } else { // - // Othewise, the bootfilename must be included in DhcpOnly offer. + // Otherwise, the bootfilename must be included in DhcpOnly offer. // ASSERT (Cache6->OptList[PXEBC_DHCP6_IDX_BOOT_FILE_URL] !=3D NULL); } @@ -1480,7 +1480,7 @@ PxeBcUnregisterIp6Address ( =20 @retval EFI_SUCCESS Found a valid gateway address successful= ly. @retval EFI_TIMEOUT The operation is time out. - @retval Other Unexpect error happened. + @retval Other Unexpected error happened. =20 **/ EFI_STATUS @@ -1594,7 +1594,7 @@ ON_EXIT: @param[in] Private The pointer to PXEBC_PRIVATE_DATA. @param[in] Address The pointer to the ready address. =20 - @retval EFI_SUCCESS Registered the address succesfully. + @retval EFI_SUCCESS Registered the address successfully. @retval Others Failed to register the address. =20 **/ @@ -1774,8 +1774,8 @@ ON_EXIT: =20 @param[in] Private The pointer to PXEBC_PRIVATE_DATA. =20 - @retval EFI_SUCCESS Switch the IP policy succesfully. - @retval Others Unexpect error happened. + @retval EFI_SUCCESS Switch the IP policy successfully. + @retval Others Unexpected error happened. =20 **/ EFI_STATUS @@ -1915,7 +1915,7 @@ PxeBcDhcp6CallBack ( Callback =3D Private->PxeBcCallback; =20 // - // Callback to user when any traffic ocurred if has. + // Callback to user when any traffic occurred if has. // if (Dhcp6Event !=3D Dhcp6SelectAdvertise && Callback !=3D NULL) { Received =3D (BOOLEAN) (Dhcp6Event =3D=3D Dhcp6RcvdAdvertise || Dhcp6E= vent =3D=3D Dhcp6RcvdReply); diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcDriver.c b/NetworkPkg/UefiPxeBcDx= e/PxeBcDriver.c index b35edb687d30..0e2675be3c98 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcDriver.c +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcDriver.c @@ -1,5 +1,5 @@ /** @file - Driver Binding functions implementationfor for UefiPxeBc Driver. + Driver Binding functions implementation for UefiPxeBc Driver. =20 (C) Copyright 2014 Hewlett-Packard Development Company, L.P.
Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.
@@ -1184,7 +1184,7 @@ PxeBcCreateIp6Children ( } =20 // - // Set IPv6 avaiable flag and set default configure data for + // Set IPv6 available flag and set default configure data for // Udp6Read and Ip6 instance. // Status =3D PxeBcCheckIpv6Support (ControllerHandle, Private, &Private->M= ode.Ipv6Available); diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c b/NetworkPkg/UefiPxeBcDxe/= PxeBcImpl.c index 639415b286a3..5d18207b6ce8 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c @@ -204,7 +204,7 @@ EfiPxeBcStart ( //the active state, If the DHCP4 D.O.R.A started by IP4 auto //configuration and has not been completed, the Dhcp4 state machine //will not be in the right state for the PXE to start a new round D.O.= R.A. - //so we need to switch it's policy to static. + //so we need to switch its policy to static. // Status =3D PxeBcSetIp4Policy (Private); if (EFI_ERROR (Status)) { @@ -631,7 +631,7 @@ EfiPxeBcDiscover ( } if (Index !=3D Info->IpCnt) { // - // It's invalid if the first server doesn't accecpt any response + // It's invalid if the first server doesn't accept any response // but any of the other servers does accept any response. // Status =3D EFI_INVALID_PARAMETER; @@ -1410,7 +1410,7 @@ EfiPxeBcUdpRead ( =20 if (IsMatched) { // - // Copy the rececived packet to user if matched by filter. + // Copy the received packet to user if matched by filter. // if (Mode->UsingIpv6) { Udp6Rx =3D Udp6Token.Packet.RxData; @@ -1685,7 +1685,7 @@ EfiPxeBcSetIpFilter ( for (Index =3D 0; Index < NewFilter->IpCnt; ++Index) { if (IP4_IS_MULTICAST (EFI_NTOHL (NewFilter->IpList[Index].v4))) = { // - // Join the mutilcast group. + // Join the multicast group. // Status =3D Private->Udp4Read->Groups (Private->Udp4Read, TRUE,= &NewFilter->IpList[Index].v4); if (EFI_ERROR (Status)) { @@ -1723,7 +1723,7 @@ EfiPxeBcSetIpFilter ( for (Index =3D 0; Index < NewFilter->IpCnt; ++Index) { if (IP6_IS_MULTICAST (&NewFilter->IpList[Index].v6)) { // - // Join the mutilcast group. + // Join the multicast group. // Status =3D Private->Udp6Read->Groups (Private->Udp6Read, TRUE,= &NewFilter->IpList[Index].v6); if (EFI_ERROR (Status)) { diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.c b/NetworkPkg/UefiPxeBcDxe= /PxeBcMtftp.c index 6a390c249f67..addcafc0c88c 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.c +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcMtftp.c @@ -106,8 +106,8 @@ PxeBcMtftp6CheckPacket ( @param[in] WindowSize Pointer to required window size. @param[in, out] BufferSize Pointer to buffer size. =20 - @retval EFI_SUCCESS Sucessfully obtained the size of file. - @retval EFI_NOT_FOUND Parse the tftp ptions failed. + @retval EFI_SUCCESS Successfully obtained the size of file. + @retval EFI_NOT_FOUND Parse the tftp options failed. @retval EFI_DEVICE_ERROR The network device encountered an error durin= g this operation. @retval Others Has not obtained the size of the file. =20 @@ -512,7 +512,7 @@ PxeBcMtftp6ReadDirectory ( @param[in] PacketLen Length of EFI_MTFTP4_PACKET. @param[in] Packet Pointer to EFI_MTFTP4_PACKET to be checked. =20 - @retval EFI_SUCCESS The current operation succeeeded. + @retval EFI_SUCCESS The current operation succeeded. @retval EFI_ABORTED Abort the current transfer process. =20 **/ @@ -896,7 +896,7 @@ PxeBcMtftp4WriteFile ( @param[in, out] BufferSize Pointer to buffer size. @param[in] DontUseBuffer Indicates whether to use a receive buffe= r. =20 - @retval EFI_SUCCES Successfully obtained the data from the file = included in the directory. + @retval EFI_SUCCESS Successfully obtained the data from the file = included in the directory. @retval EFI_DEVICE_ERROR The network device encountered an error durin= g this operation. @retval Others Operation failed. =20 @@ -1037,7 +1037,7 @@ PxeBcTftpGetFileSize ( @param[in, out] BufferSize Pointer to buffer size. @param[in] DontUseBuffer Indicates whether to use a receive buffer= . =20 - @retval EFI_SUCCESS Sucessfully read the data from the special fi= le. + @retval EFI_SUCCESS Successfully read the data from the special f= ile. @retval EFI_DEVICE_ERROR The network device encountered an error durin= g this operation. @retval Others Read data from file failed. =20 @@ -1143,7 +1143,7 @@ PxeBcTftpWriteFile ( @param[in, out] BufferSize Pointer to buffer size. @param[in] DontUseBuffer Indicatse whether to use a receive buffe= r. =20 - @retval EFI_SUCCES Successfully obtained the data from the file = included in the directory. + @retval EFI_SUCCESS Successfully obtained the data from the file = included in the directory. @retval EFI_DEVICE_ERROR The network device encountered an error durin= g this operation. @retval Others Operation failed. =20 diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c b/NetworkPkg/UefiPxeBcD= xe/PxeBcSupport.c index ae8eb48947fd..8eb1558d30a9 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c @@ -11,7 +11,7 @@ =20 =20 /** - Flush the previous configration using the new station Ip address. + Flush the previous configuration using the new station Ip address. =20 @param[in] Private The pointer to the PxeBc private data. @param[in] StationIp The pointer to the station Ip address. @@ -136,7 +136,7 @@ PxeBcCommonNotify ( =20 @param Mode The pointer to EFI_PXE_BASE_CODE_MODE. @param Ip4Addr The Ip4 address for resolution. - @param MacAddress The resoluted MAC address if the resolution is su= ccessful. + @param MacAddress The resolved MAC address if the resolution is suc= cessful. The value is undefined if the resolution fails. =20 @retval TRUE Found an matched entry. @@ -1176,7 +1176,7 @@ PxeBcUdp4Read ( Token->Status =3D=3D EFI_NOT_READY && EFI_ERROR (gBS->CheckEvent (TimeoutEvent))) { // - // Poll the token utill reply/ICMPv6 error message received or timeout= . + // Poll the token until reply/ICMPv6 error message received or timeout= . // Udp4->Poll (Udp4); if (Token->Status =3D=3D EFI_ICMP_ERROR || @@ -1280,7 +1280,7 @@ PxeBcUdp6Read ( Token->Status =3D=3D EFI_NOT_READY && EFI_ERROR (gBS->CheckEvent (TimeoutEvent))) { // - // Poll the token utill reply/ICMPv6 error message received or timeout= . + // Poll the token until reply/ICMPv6 error message received or timeout= . // Udp6->Poll (Udp6); if (Token->Status =3D=3D EFI_ICMP_ERROR || --=20 2.21.0