From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web09.2052.1578044479062970409 for ; Fri, 03 Jan 2020 01:41:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=G60rh3d9; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578044478; 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=thrHCtFbL7KbuJpkrD9IsAoqaU26ysdibb2qn06YRyc=; b=G60rh3d9jUN9VfX86WkfQM+xPGOPqDd+chJU+csDsGJUY5HORUQjLHU5dTT+qCTGRiOnGN 4s7GxNbSn51iMukLdHtvGnDv2kwDDc4aeOeLdGMK7XVSNQjUYZ8N7edzZ/13xiXD98G/I6 CpQeJSLqJTohWApps2u3FAwNP7kg8pg= 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-226-Qk8q-OLRM_KDKXUFNL4Vug-1; Fri, 03 Jan 2020 04:41:12 -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 A8093102CE16; Fri, 3 Jan 2020 09:41:11 +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 04ABD60BF7; Fri, 3 Jan 2020 09:41:09 +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 50/78] NetworkPkg/Udp4Dxe: Fix various typos Date: Fri, 3 Jan 2020 10:07:44 +0100 Message-Id: <20200103090812.10592-51-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: Qk8q-OLRM_KDKXUFNL4Vug-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/Udp4Dxe/Udp4Driver.h | 4 ++-- NetworkPkg/Udp4Dxe/Udp4Impl.h | 4 ++-- NetworkPkg/Udp4Dxe/Udp4Driver.c | 4 ++-- NetworkPkg/Udp4Dxe/Udp4Impl.c | 12 ++++++------ NetworkPkg/Udp4Dxe/Udp4Main.c | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/NetworkPkg/Udp4Dxe/Udp4Driver.h b/NetworkPkg/Udp4Dxe/Udp4Drive= r.h index 4e9a0c73565a..741c839d57df 100644 --- a/NetworkPkg/Udp4Dxe/Udp4Driver.h +++ b/NetworkPkg/Udp4Dxe/Udp4Driver.h @@ -105,7 +105,7 @@ Udp4DriverBindingStop ( then a new handle is created. If it is a pointer = to an existing UEFI handle, then the protocol is added to the existing UEFI h= andle. =20 - @retval EFI_SUCCES The protocol was added to ChildHandle. + @retval EFI_SUCCESS The protocol was added to ChildHandle. @retval EFI_INVALID_PARAMETER ChildHandle is NULL. @retval EFI_OUT_OF_RESOURCES There are not enough resources available t= o create the child @@ -129,7 +129,7 @@ Udp4ServiceBindingCreateChild ( @param[in] This Pointer to the EFI_SERVICE_BINDING_PROTOCOL insta= nce. @param[in] ChildHandle Handle of the child to destroy =20 - @retval EFI_SUCCES The protocol was removed from ChildHandle. + @retval EFI_SUCCESS The protocol was removed from ChildHandle. @retval EFI_UNSUPPORTED ChildHandle does not support the protocol = that is being removed. @retval EFI_INVALID_PARAMETER Child handle is NULL. @retval EFI_ACCESS_DENIED The protocol could not be removed from the= ChildHandle diff --git a/NetworkPkg/Udp4Dxe/Udp4Impl.h b/NetworkPkg/Udp4Dxe/Udp4Impl.h index a5dd1ecabe5f..115f9ed878ac 100644 --- a/NetworkPkg/Udp4Dxe/Udp4Impl.h +++ b/NetworkPkg/Udp4Dxe/Udp4Impl.h @@ -440,7 +440,7 @@ Udp4CleanService ( ); =20 /** - This function intializes the new created udp instance. + This function initializes the new created udp instance. =20 @param[in] Udp4Service Pointer to the UDP4_SERVICE_DATA. @param[in, out] Instance Pointer to the un-initialized UDP4_INS= TANCE_DATA. @@ -574,7 +574,7 @@ Udp4TokenExist ( pseudo HeadSum to reduce some overhead. =20 @param[in] Packet Pointer to the NET_BUF contains the udp d= atagram. - @param[in] HeadSum Checksum of the pseudo header execpt the = length + @param[in] HeadSum Checksum of the pseudo header except the = length field. =20 @retval The 16-bit checksum of this udp datagram. diff --git a/NetworkPkg/Udp4Dxe/Udp4Driver.c b/NetworkPkg/Udp4Dxe/Udp4Drive= r.c index 63b103b8efcc..44032682e2b8 100644 --- a/NetworkPkg/Udp4Dxe/Udp4Driver.c +++ b/NetworkPkg/Udp4Dxe/Udp4Driver.c @@ -286,7 +286,7 @@ Udp4DriverBindingStop ( then a new handle is created. If it is a pointer = to an existing UEFI handle, then the protocol is added to the existing UEFI h= andle. =20 - @retval EFI_SUCCES The protocol was added to ChildHandle. + @retval EFI_SUCCESS The protocol was added to ChildHandle. @retval EFI_INVALID_PARAMETER ChildHandle is NULL. @retval EFI_OUT_OF_RESOURCES There are not enough resources available t= o create the child @@ -421,7 +421,7 @@ ON_ERROR: @param[in] This Pointer to the EFI_SERVICE_BINDING_PROTOCOL insta= nce. @param[in] ChildHandle Handle of the child to destroy =20 - @retval EFI_SUCCES The protocol was removed from ChildHandle. + @retval EFI_SUCCESS The protocol was removed from ChildHandle. @retval EFI_UNSUPPORTED ChildHandle does not support the protocol = that is being removed. @retval EFI_INVALID_PARAMETER Child handle is NULL. @retval EFI_ACCESS_DENIED The protocol could not be removed from the= ChildHandle diff --git a/NetworkPkg/Udp4Dxe/Udp4Impl.c b/NetworkPkg/Udp4Dxe/Udp4Impl.c index fb1951fb1357..dc2a324c1181 100644 --- a/NetworkPkg/Udp4Dxe/Udp4Impl.c +++ b/NetworkPkg/Udp4Dxe/Udp4Impl.c @@ -119,7 +119,7 @@ Udp4CancelTokens ( @param[in] Udp4Session Pointer to the EFI_UDP4_SESSION_DATA abst= racted from the received udp datagram. =20 - @retval TRUE The udp datagram matches the receiving requirments of= the + @retval TRUE The udp datagram matches the receiving requirements o= f the udp Instance. @retval FALSE Otherwise. =20 @@ -439,7 +439,7 @@ Udp4CheckTimeout ( =20 =20 /** - This function intializes the new created udp instance. + This function initializes the new created udp instance. =20 @param[in] Udp4Service Pointer to the UDP4_SERVICE_DATA. @param[in, out] Instance Pointer to the un-initialized UDP4_INS= TANCE_DATA. @@ -851,7 +851,7 @@ Udp4ValidateTxToken ( =20 if ((UdpSessionData->DestinationPort =3D=3D 0) && (ConfigData->RemoteP= ort =3D=3D 0)) { // - // Ambiguous, no avalaible DestinationPort for this token. + // Ambiguous, no available DestinationPort for this token. // return EFI_INVALID_PARAMETER; } @@ -864,7 +864,7 @@ Udp4ValidateTxToken ( } } else if (EFI_IP4_EQUAL (&ConfigData->RemoteAddress, &mZeroIp4Addr)) { // - // the configured RemoteAddress is all zero, and the user doens't over= ride the + // the configured RemoteAddress is all zero, and the user doesn't over= ride the // destination address. // return EFI_INVALID_PARAMETER; @@ -922,7 +922,7 @@ Udp4TokenExist ( pseudo HeadSum to reduce some overhead. =20 @param[in] Packet Pointer to the NET_BUF contains the udp d= atagram. - @param[in] HeadSum Checksum of the pseudo header execpt the = length + @param[in] HeadSum Checksum of the pseudo header except the = length field. =20 @retval The 16-bit checksum of this udp datagram. @@ -1264,7 +1264,7 @@ Udp4InstanceCancelToken ( @param[in] Udp4Session Pointer to the EFI_UDP4_SESSION_DATA abst= racted from the received udp datagram. =20 - @retval TRUE The udp datagram matches the receiving requirments of= the + @retval TRUE The udp datagram matches the receiving requirements o= f the udp Instance. @retval FALSE Otherwise. =20 diff --git a/NetworkPkg/Udp4Dxe/Udp4Main.c b/NetworkPkg/Udp4Dxe/Udp4Main.c index aa1956cd4b42..2a639f954726 100644 --- a/NetworkPkg/Udp4Dxe/Udp4Main.c +++ b/NetworkPkg/Udp4Dxe/Udp4Main.c @@ -367,7 +367,7 @@ Udp4Groups ( // Keep a local copy of the configured multicast IPs because IpIo receiv= es // datagrams from the 0 station address IP instance and then UDP deliver= s to // the matched instance. This copy of multicast IPs is used to avoid rec= eive - // the mutlicast datagrams destined to multicast IPs the other instances= configured. + // the multicast datagrams destined to multicast IPs the other instances= configured. // if (JoinFlag) { =20 @@ -844,7 +844,7 @@ Udp4Cancel ( OldTpl =3D gBS->RaiseTPL (TPL_CALLBACK); =20 // - // Cancle the tokens specified by Token for this instance. + // Cancel the tokens specified by Token for this instance. // Status =3D Udp4InstanceCancelToken (Instance, Token); =20 --=20 2.21.0