From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.81]) by mx.groups.io with SMTP id smtpd.web12.1805.1578042572878594701 for ; Fri, 03 Jan 2020 01:09:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=C3DMUgY0; spf=pass (domain: redhat.com, ip: 207.211.31.81, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578042571; 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=LV/B+vP39OvSAPwqmNo2PXBJ1cvhZQuZMozoeS0vKpQ=; b=C3DMUgY031519c6w9N69cmJkI2L7M3Vnj9+C6XA7qiQxxFeO6mD2hrw/trI3nx74SX+Hle rW+2N1tDBPXvulIetmufyKJDz9lo+fFWQ/a7X85HpLIvqQn/5XokBmDP8RLypXlKLqV5e6 575+B9U8uk49Yin+k1VfoL8ieYfzRKE= 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-287-mcy8YMg5Ps6TUJCNz-LMgA-1; Fri, 03 Jan 2020 04:09:28 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0D159800D41; Fri, 3 Jan 2020 09:09:27 +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 592B57BA25; Fri, 3 Jan 2020 09:09:25 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Philippe Mathieu-Daude , Andrew Fish , Laszlo Ersek , Leif Lindholm , Michael D Kinney , Maciej Rabeda Subject: [PATCH v2 29/78] NetworkPkg: Fix a typo Date: Fri, 3 Jan 2020 10:07:23 +0100 Message-Id: <20200103090812.10592-30-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.15 X-MC-Unique: mcy8YMg5Ps6TUJCNz-LMgA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Correctly write 'malformatted' in documentation, comments and debug strings. Cc: Andrew Fish Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Michael D Kinney Reviewed-by: Maciej Rabeda Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg/Dhcp4Dxe/Dhcp4Option.h | 6 +++--- NetworkPkg/Ip4Dxe/Ip4Icmp.h | 2 +- NetworkPkg/Ip4Dxe/Ip4Igmp.h | 2 +- NetworkPkg/Ip4Dxe/Ip4Option.h | 4 ++-- NetworkPkg/Ip6Dxe/Ip6Icmp.h | 4 ++-- NetworkPkg/Mtftp4Dxe/Mtftp4Option.h | 4 ++-- NetworkPkg/Dhcp4Dxe/Dhcp4Option.c | 10 +++++----- NetworkPkg/Ip4Dxe/Ip4Icmp.c | 2 +- NetworkPkg/Ip4Dxe/Ip4Igmp.c | 2 +- NetworkPkg/Ip4Dxe/Ip4Option.c | 2 +- NetworkPkg/Ip6Dxe/Ip6Icmp.c | 4 ++-- NetworkPkg/Library/DxeNetLib/DxeNetLib.c | 10 +++++----- NetworkPkg/Mtftp4Dxe/Mtftp4Option.c | 6 +++--- NetworkPkg/Mtftp4Dxe/Mtftp4Rrq.c | 2 +- NetworkPkg/Mtftp4Dxe/Mtftp4Wrq.c | 2 +- NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c | 2 +- NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c | 2 +- 17 files changed, 33 insertions(+), 33 deletions(-) diff --git a/NetworkPkg/Dhcp4Dxe/Dhcp4Option.h b/NetworkPkg/Dhcp4Dxe/Dhcp4O= ption.h index 9e25386507ed..393176c8996d 100644 --- a/NetworkPkg/Dhcp4Dxe/Dhcp4Option.h +++ b/NetworkPkg/Dhcp4Dxe/Dhcp4Option.h @@ -133,7 +133,7 @@ DhcpIterateOptions ( @param[out] Para The variable to save the DHCP paramet= ers. =20 @retval EFI_OUT_OF_RESOURCES Failed to allocate memory to validate the= packet. - @retval EFI_INVALID_PARAMETER The options are mal-formated + @retval EFI_INVALID_PARAMETER The options are malformatted @retval EFI_SUCCESS The options are parsed into OptionPoint =20 **/ @@ -167,7 +167,7 @@ DhcpValidateOptions ( =20 @retval EFI_NOT_FOUND Cannot find any option. @retval EFI_OUT_OF_RESOURCES Failed to allocate memory to parse the pa= cket. - @retval EFI_INVALID_PARAMETER The options are mal-formated + @retval EFI_INVALID_PARAMETER The options are malformatted @retval EFI_SUCCESS The options are parsed into OptionPoint =20 **/ @@ -211,7 +211,7 @@ DhcpAppendOption ( function. =20 @retval EFI_OUT_OF_RESOURCES Failed to allocate memory - @retval EFI_INVALID_PARAMETER The options in SeekPacket are mal-formate= d + @retval EFI_INVALID_PARAMETER The options in SeekPacket are malformatte= d @retval EFI_SUCCESS The packet is build. =20 **/ diff --git a/NetworkPkg/Ip4Dxe/Ip4Icmp.h b/NetworkPkg/Ip4Dxe/Ip4Icmp.h index 922886a96e67..a52200176f5a 100644 --- a/NetworkPkg/Ip4Dxe/Ip4Icmp.h +++ b/NetworkPkg/Ip4Dxe/Ip4Icmp.h @@ -83,7 +83,7 @@ extern EFI_IP4_ICMP_TYPE mIp4SupportedIcmp[]; @param[in] Packet The content of the ICMP query with IP4 he= ad removed. =20 - @retval EFI_INVALID_PARAMETER The packet is malformated. + @retval EFI_INVALID_PARAMETER The packet is malformatted. @retval EFI_SUCCESS The ICMP message is successfully processe= d. @retval Others Failed to handle ICMP packet. =20 diff --git a/NetworkPkg/Ip4Dxe/Ip4Igmp.h b/NetworkPkg/Ip4Dxe/Ip4Igmp.h index 0cc944594441..49c13ba3a7a0 100644 --- a/NetworkPkg/Ip4Dxe/Ip4Igmp.h +++ b/NetworkPkg/Ip4Dxe/Ip4Igmp.h @@ -111,7 +111,7 @@ Ip4LeaveGroup ( @param[in] Head The IP4 header of the received message. @param[in] Packet The IGMP message, without IP4 header. =20 - @retval EFI_INVALID_PARAMETER The IGMP message is malformated. + @retval EFI_INVALID_PARAMETER The IGMP message is malformatted. @retval EFI_SUCCESS The IGMP message is successfully processe= d. =20 **/ diff --git a/NetworkPkg/Ip4Dxe/Ip4Option.h b/NetworkPkg/Ip4Dxe/Ip4Option.h index 57a5a58725f0..a39fd2b4c69d 100644 --- a/NetworkPkg/Ip4Dxe/Ip4Option.h +++ b/NetworkPkg/Ip4Dxe/Ip4Option.h @@ -20,7 +20,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent /** Validate the IP4 option format for both the packets we received and will transmit. It will compute the ICMP error message fields - if the option is mal-formated. But this information isn't used. + if the option is malformatted. But this information isn't used. =20 @param[in] Option The first byte of the option @param[in] OptionLen The length of the whole option @@ -28,7 +28,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent otherwise the option we wants to transmit. =20 @retval TRUE The option is properly formatted - @retval FALSE The option is mal-formated + @retval FALSE The option is malformatted =20 **/ BOOLEAN diff --git a/NetworkPkg/Ip6Dxe/Ip6Icmp.h b/NetworkPkg/Ip6Dxe/Ip6Icmp.h index 49a65f296adb..c63adb009519 100644 --- a/NetworkPkg/Ip6Dxe/Ip6Icmp.h +++ b/NetworkPkg/Ip6Dxe/Ip6Icmp.h @@ -35,7 +35,7 @@ extern EFI_IP6_ICMP_TYPE mIp6SupportedIcmp[]; @param[in] Packet The content of the ICMPv6 packet with IP = head removed. =20 - @retval EFI_INVALID_PARAMETER The packet is malformated. + @retval EFI_INVALID_PARAMETER The packet is malformatted. @retval EFI_SUCCESS The ICMPv6 message successfully processed= . @retval Others Failed to handle the ICMPv6 packet. =20 @@ -80,7 +80,7 @@ Ip6IsAnycast ( @param[in] Pointer If not NULL, identifies the octet offset = within the invoking packet where the error was d= etected. =20 - @retval EFI_INVALID_PARAMETER The packet is malformated. + @retval EFI_INVALID_PARAMETER The packet is malformatted. @retval EFI_OUT_OF_RESOURCES There is no sufficient resource to comple= te the operation. @retval EFI_SUCCESS The ICMPv6 message was successfully sent = out. diff --git a/NetworkPkg/Mtftp4Dxe/Mtftp4Option.h b/NetworkPkg/Mtftp4Dxe/Mtf= tp4Option.h index fcc4cbe8fdef..7bfe706f88c6 100644 --- a/NetworkPkg/Mtftp4Dxe/Mtftp4Option.h +++ b/NetworkPkg/Mtftp4Dxe/Mtftp4Option.h @@ -70,7 +70,7 @@ Mtftp4ExtractOptions ( @param Operation The current performed operation. @param MtftpOption The MTFTP4_OPTION for easy access. =20 - @retval EFI_INVALID_PARAMETER The option is mal-formated + @retval EFI_INVALID_PARAMETER The option is malformatted @retval EFI_UNSUPPORTED Some option isn't supported @retval EFI_SUCCESS The option are OK and has been parsed. =20 @@ -93,7 +93,7 @@ Mtftp4ParseOption ( @param Operation The current performed operation. @param MtftpOption The MTFTP_OPTION for easy access. =20 - @retval EFI_INVALID_PARAMETER The packet option is mal-formated + @retval EFI_INVALID_PARAMETER The packet option is malformatted @retval EFI_UNSUPPORTED Some option isn't supported @retval EFI_SUCCESS The option are OK and has been parsed. =20 diff --git a/NetworkPkg/Dhcp4Dxe/Dhcp4Option.c b/NetworkPkg/Dhcp4Dxe/Dhcp4O= ption.c index 3adbf55d0612..3b077de11177 100644 --- a/NetworkPkg/Dhcp4Dxe/Dhcp4Option.c +++ b/NetworkPkg/Dhcp4Dxe/Dhcp4Option.c @@ -230,7 +230,7 @@ DhcpOptionIsValid ( @param[out] Para The variable to save the interested p= arameter =20 @retval EFI_SUCCESS The DHCP option is successfully extracted= . - @retval EFI_INVALID_PARAMETER The DHCP option is mal-formated + @retval EFI_INVALID_PARAMETER The DHCP option is malformatted =20 **/ EFI_STATUS @@ -303,7 +303,7 @@ DhcpGetParameter ( option. =20 @retval EFI_SUCCESS All the options are valid - @retval EFI_INVALID_PARAMETER The options are mal-formated. + @retval EFI_INVALID_PARAMETER The options are malformatted. =20 **/ EFI_STATUS @@ -538,7 +538,7 @@ DhcpFillOption ( =20 @retval EFI_NOT_FOUND Cannot find any option. @retval EFI_OUT_OF_RESOURCES Failed to allocate memory to parse the pa= cket. - @retval EFI_INVALID_PARAMETER The options are mal-formated + @retval EFI_INVALID_PARAMETER The options are malformatted @retval EFI_SUCCESS The options are parsed into OptionPoint =20 **/ @@ -639,7 +639,7 @@ ON_EXIT: @param[out] Para The variable to save the DHCP paramet= ers. =20 @retval EFI_OUT_OF_RESOURCES Failed to allocate memory to validate the= packet. - @retval EFI_INVALID_PARAMETER The options are mal-formated + @retval EFI_INVALID_PARAMETER The options are malformatted @retval EFI_SUCCESS The options are parsed into OptionPoint =20 **/ @@ -770,7 +770,7 @@ DhcpAppendOption ( function. =20 @retval EFI_OUT_OF_RESOURCES Failed to allocate memory - @retval EFI_INVALID_PARAMETER The options in SeekPacket are mal-formate= d + @retval EFI_INVALID_PARAMETER The options in SeekPacket are malformatte= d @retval EFI_SUCCESS The packet is build. =20 **/ diff --git a/NetworkPkg/Ip4Dxe/Ip4Icmp.c b/NetworkPkg/Ip4Dxe/Ip4Icmp.c index 052d6b77f79a..833ffa74ff0d 100644 --- a/NetworkPkg/Ip4Dxe/Ip4Icmp.c +++ b/NetworkPkg/Ip4Dxe/Ip4Icmp.c @@ -319,7 +319,7 @@ Ip4ProcessIcmpQuery ( @param[in] Packet The content of the ICMP query with IP4 he= ad removed. =20 - @retval EFI_INVALID_PARAMETER The packet is malformated. + @retval EFI_INVALID_PARAMETER The packet is malformatted. @retval EFI_SUCCESS The ICMP message is successfully processe= d. @retval Others Failed to handle ICMP packet. =20 diff --git a/NetworkPkg/Ip4Dxe/Ip4Igmp.c b/NetworkPkg/Ip4Dxe/Ip4Igmp.c index 41d9bce9717e..e69b2fe7fc08 100644 --- a/NetworkPkg/Ip4Dxe/Ip4Igmp.c +++ b/NetworkPkg/Ip4Dxe/Ip4Igmp.c @@ -401,7 +401,7 @@ Ip4LeaveGroup ( @param[in] Head The IP4 header of the received message. @param[in] Packet The IGMP message, without IP4 header. =20 - @retval EFI_INVALID_PARAMETER The IGMP message is malformated. + @retval EFI_INVALID_PARAMETER The IGMP message is malformatted. @retval EFI_SUCCESS The IGMP message is successfully processe= d. =20 **/ diff --git a/NetworkPkg/Ip4Dxe/Ip4Option.c b/NetworkPkg/Ip4Dxe/Ip4Option.c index f1c10014e85c..b3c598c64a38 100644 --- a/NetworkPkg/Ip4Dxe/Ip4Option.c +++ b/NetworkPkg/Ip4Dxe/Ip4Option.c @@ -19,7 +19,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent otherwise the option we wants to transmit. =20 @retval TRUE The option is properly formatted - @retval FALSE The option is mal-formated + @retval FALSE The option is malformatted =20 **/ BOOLEAN diff --git a/NetworkPkg/Ip6Dxe/Ip6Icmp.c b/NetworkPkg/Ip6Dxe/Ip6Icmp.c index 79fa34e0413f..bf9b17d907ef 100644 --- a/NetworkPkg/Ip6Dxe/Ip6Icmp.c +++ b/NetworkPkg/Ip6Dxe/Ip6Icmp.c @@ -393,7 +393,7 @@ Ip6ProcessIcmpInformation ( @param[in] Packet The content of the ICMPv6 packet with IP = head removed. =20 - @retval EFI_INVALID_PARAMETER The packet is malformated. + @retval EFI_INVALID_PARAMETER The packet is malformatted. @retval EFI_SUCCESS The ICMPv6 message successfully processed= . @retval Others Failed to handle the ICMPv6 packet. =20 @@ -554,7 +554,7 @@ Ip6IsAnycast ( @param[in] Pointer If not NULL, identifies the octet offset = within the invoking packet where the error was d= etected. =20 - @retval EFI_INVALID_PARAMETER The packet is malformated. + @retval EFI_INVALID_PARAMETER The packet is malformatted. @retval EFI_OUT_OF_RESOURCES There is no sufficient resource to comple= te the operation. @retval EFI_SUCCESS The ICMPv6 message was successfully sent = out. diff --git a/NetworkPkg/Library/DxeNetLib/DxeNetLib.c b/NetworkPkg/Library/= DxeNetLib/DxeNetLib.c index a39c20be3d34..4f8a1226dae7 100644 --- a/NetworkPkg/Library/DxeNetLib/DxeNetLib.c +++ b/NetworkPkg/Library/DxeNetLib/DxeNetLib.c @@ -2983,7 +2983,7 @@ NetLibGetNicHandle ( @param[out] Ip4Address The pointer to the converted IPv4 address= . =20 @retval EFI_SUCCESS Convert to IPv4 address successfully. - @retval EFI_INVALID_PARAMETER The string is mal-formated or Ip4Address = is NULL. + @retval EFI_INVALID_PARAMETER The string is malformatted or Ip4Address = is NULL. =20 **/ EFI_STATUS @@ -3013,7 +3013,7 @@ NetLibAsciiStrToIp4 ( @param[out] Ip6Address The pointer to the converted IPv6 address= . =20 @retval EFI_SUCCESS Convert to IPv6 address successfully. - @retval EFI_INVALID_PARAMETER The string is mal-formated or Ip6Address = is NULL. + @retval EFI_INVALID_PARAMETER The string is malformatted or Ip6Address = is NULL. =20 **/ EFI_STATUS @@ -3042,7 +3042,7 @@ NetLibAsciiStrToIp6 ( @param[out] Ip4Address The pointer to the converted IPv4 address= . =20 @retval EFI_SUCCESS Convert to IPv4 address successfully. - @retval EFI_INVALID_PARAMETER The string is mal-formated or Ip4Address = is NULL. + @retval EFI_INVALID_PARAMETER The string is malformatted or Ip4Address = is NULL. =20 **/ EFI_STATUS @@ -3072,7 +3072,7 @@ NetLibStrToIp4 ( @param[out] Ip6Address The pointer to the converted IPv6 address= . =20 @retval EFI_SUCCESS Convert to IPv6 address successfully. - @retval EFI_INVALID_PARAMETER The string is mal-formated or Ip6Address = is NULL. + @retval EFI_INVALID_PARAMETER The string is malformatted or Ip6Address = is NULL. =20 **/ EFI_STATUS @@ -3103,7 +3103,7 @@ NetLibStrToIp6 ( @param[out] PrefixLength The pointer to the converted prefix lengt= h. =20 @retval EFI_SUCCESS Convert to IPv6 address successfully. - @retval EFI_INVALID_PARAMETER The string is mal-formated or Ip6Address = is NULL. + @retval EFI_INVALID_PARAMETER The string is malformatted or Ip6Address = is NULL. =20 **/ EFI_STATUS diff --git a/NetworkPkg/Mtftp4Dxe/Mtftp4Option.c b/NetworkPkg/Mtftp4Dxe/Mtf= tp4Option.c index d97f157f1744..013fe008eee8 100644 --- a/NetworkPkg/Mtftp4Dxe/Mtftp4Option.c +++ b/NetworkPkg/Mtftp4Dxe/Mtftp4Option.c @@ -155,7 +155,7 @@ NetStringToIp ( options on output @param Options The option array to fill in =20 - @retval EFI_INVALID_PARAMETER The packet is mal-formated + @retval EFI_INVALID_PARAMETER The packet is malformatted @retval EFI_BUFFER_TOO_SMALL The Options array is too small @retval EFI_SUCCESS The packet has been parsed into the Optio= ns array. =20 @@ -398,7 +398,7 @@ Mtftp4ExtractMcast ( @param Operation The current performed operation. @param MtftpOption The MTFTP4_OPTION for easy access. =20 - @retval EFI_INVALID_PARAMETER The option is mal-formated + @retval EFI_INVALID_PARAMETER The option is malformatted @retval EFI_UNSUPPORTED Some option isn't supported @retval EFI_SUCCESS The option are OK and has been parsed. =20 @@ -516,7 +516,7 @@ Mtftp4ParseOption ( @param Operation The current performed operation. @param MtftpOption The MTFTP_OPTION for easy access. =20 - @retval EFI_INVALID_PARAMETER The packet option is mal-formated + @retval EFI_INVALID_PARAMETER The packet option is malformatted @retval EFI_UNSUPPORTED Some option isn't supported @retval EFI_SUCCESS The option are OK and has been parsed. =20 diff --git a/NetworkPkg/Mtftp4Dxe/Mtftp4Rrq.c b/NetworkPkg/Mtftp4Dxe/Mtftp4= Rrq.c index 24c965afb580..8e1338221b12 100644 --- a/NetworkPkg/Mtftp4Dxe/Mtftp4Rrq.c +++ b/NetworkPkg/Mtftp4Dxe/Mtftp4Rrq.c @@ -533,7 +533,7 @@ Mtftp4RrqHandleOack ( Mtftp4SendError ( Instance, EFI_MTFTP4_ERRORCODE_ILLEGAL_OPERATION, - (UINT8 *) "Mal-formated OACK packet" + (UINT8 *) "Malformatted OACK packet" ); } =20 diff --git a/NetworkPkg/Mtftp4Dxe/Mtftp4Wrq.c b/NetworkPkg/Mtftp4Dxe/Mtftp4= Wrq.c index 14156b801ee6..bd13244b999b 100644 --- a/NetworkPkg/Mtftp4Dxe/Mtftp4Wrq.c +++ b/NetworkPkg/Mtftp4Dxe/Mtftp4Wrq.c @@ -291,7 +291,7 @@ Mtftp4WrqHandleOack ( Mtftp4SendError ( Instance, EFI_MTFTP4_ERRORCODE_ILLEGAL_OPERATION, - (UINT8 *) "Mal-formated OACK packet" + (UINT8 *) "Malformatted OACK packet" ); } =20 diff --git a/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c b/NetworkPkg/Mtftp6Dxe/Mtftp6= Rrq.c index 897358e5f133..a830d432916c 100644 --- a/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c +++ b/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c @@ -517,7 +517,7 @@ Mtftp6RrqHandleOack ( Mtftp6SendError ( Instance, EFI_MTFTP6_ERRORCODE_ILLEGAL_OPERATION, - (UINT8 *) "Mal-formated OACK packet" + (UINT8 *) "Malformatted OACK packet" ); } =20 diff --git a/NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c b/NetworkPkg/Mtftp6Dxe/Mtftp6= Wrq.c index 2860f3870206..ce3315cc2c26 100644 --- a/NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c +++ b/NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c @@ -332,7 +332,7 @@ Mtftp6WrqHandleOack ( Mtftp6SendError ( Instance, EFI_MTFTP6_ERRORCODE_ILLEGAL_OPERATION, - (UINT8 *) "Mal-formated OACK packet" + (UINT8 *) "Malformatted OACK packet" ); } =20 --=20 2.21.0