summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Ip4Dxe
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-02-07 02:07:42 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit8d774c745c28cf49de20d4f495b3d06fc5b9757f (patch)
treebe0cca3b975e8428dfa9153f0f0ccde004c18601 /NetworkPkg/Ip4Dxe
parent788421d5a766a4ce216e99e2277bb11c54e7d0f6 (diff)
downloadedk2-8d774c745c28cf49de20d4f495b3d06fc5b9757f.tar.gz
edk2-8d774c745c28cf49de20d4f495b3d06fc5b9757f.tar.bz2
edk2-8d774c745c28cf49de20d4f495b3d06fc5b9757f.zip
NetworkPkg: Fix a typo
Correctly write 'malformatted' in documentation, comments and debug strings. Cc: Andrew Fish <afish@apple.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Leif Lindholm <leif.lindholm@linaro.org> Cc: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-30-philmd@redhat.com>
Diffstat (limited to 'NetworkPkg/Ip4Dxe')
-rw-r--r--NetworkPkg/Ip4Dxe/Ip4Icmp.c2
-rw-r--r--NetworkPkg/Ip4Dxe/Ip4Icmp.h2
-rw-r--r--NetworkPkg/Ip4Dxe/Ip4Igmp.c2
-rw-r--r--NetworkPkg/Ip4Dxe/Ip4Igmp.h2
-rw-r--r--NetworkPkg/Ip4Dxe/Ip4Option.c2
-rw-r--r--NetworkPkg/Ip4Dxe/Ip4Option.h4
6 files changed, 7 insertions, 7 deletions
diff --git a/NetworkPkg/Ip4Dxe/Ip4Icmp.c b/NetworkPkg/Ip4Dxe/Ip4Icmp.c
index 052d6b77f7..833ffa74ff 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 head
removed.
- @retval EFI_INVALID_PARAMETER The packet is malformated.
+ @retval EFI_INVALID_PARAMETER The packet is malformatted.
@retval EFI_SUCCESS The ICMP message is successfully processed.
@retval Others Failed to handle ICMP packet.
diff --git a/NetworkPkg/Ip4Dxe/Ip4Icmp.h b/NetworkPkg/Ip4Dxe/Ip4Icmp.h
index 922886a96e..a52200176f 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 head
removed.
- @retval EFI_INVALID_PARAMETER The packet is malformated.
+ @retval EFI_INVALID_PARAMETER The packet is malformatted.
@retval EFI_SUCCESS The ICMP message is successfully processed.
@retval Others Failed to handle ICMP packet.
diff --git a/NetworkPkg/Ip4Dxe/Ip4Igmp.c b/NetworkPkg/Ip4Dxe/Ip4Igmp.c
index 41d9bce971..e69b2fe7fc 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.
- @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 processed.
**/
diff --git a/NetworkPkg/Ip4Dxe/Ip4Igmp.h b/NetworkPkg/Ip4Dxe/Ip4Igmp.h
index 0cc9445944..49c13ba3a7 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.
- @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 processed.
**/
diff --git a/NetworkPkg/Ip4Dxe/Ip4Option.c b/NetworkPkg/Ip4Dxe/Ip4Option.c
index f1c10014e8..b3c598c64a 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.
@retval TRUE The option is properly formatted
- @retval FALSE The option is mal-formated
+ @retval FALSE The option is malformatted
**/
BOOLEAN
diff --git a/NetworkPkg/Ip4Dxe/Ip4Option.h b/NetworkPkg/Ip4Dxe/Ip4Option.h
index 57a5a58725..a39fd2b4c6 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.
@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.
@retval TRUE The option is properly formatted
- @retval FALSE The option is mal-formated
+ @retval FALSE The option is malformatted
**/
BOOLEAN