diff options
author | Antoine Coeur <coeur@gmx.fr> | 2020-02-07 02:07:55 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-10 22:30:07 +0000 |
commit | 6deb4baa1f778550df7178d40da37e59e3512f5e (patch) | |
tree | a17e95896126afc604db985bd533e2680bec8dcb /NetworkPkg/Library/DxeTcpIoLib | |
parent | efb565933428cc10e9c00dd162c67d4730d048e6 (diff) | |
download | edk2-6deb4baa1f778550df7178d40da37e59e3512f5e.tar.gz edk2-6deb4baa1f778550df7178d40da37e59e3512f5e.tar.bz2 edk2-6deb4baa1f778550df7178d40da37e59e3512f5e.zip |
NetworkPkg/Library: Fix various typos
Fix various typos in comments and documentation.
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-43-philmd@redhat.com>
Diffstat (limited to 'NetworkPkg/Library/DxeTcpIoLib')
-rw-r--r-- | NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.c b/NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.c index 341295d0b7..6f87a0eada 100644 --- a/NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.c +++ b/NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.c @@ -304,7 +304,7 @@ TcpIoCreateSocket ( }
//
- // Create events for variuos asynchronous operations.
+ // Create events for various asynchronous operations.
//
Status = gBS->CreateEvent (
EVT_NOTIFY_SIGNAL,
@@ -745,7 +745,7 @@ TcpIoReset ( @param[in] TcpIo The TcpIo wrapping the TCP socket.
@param[in] Packet The packet to transmit.
- @retval EFI_SUCCESS The packet is trasmitted.
+ @retval EFI_SUCCESS The packet is transmitted.
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.
@retval EFI_UNSUPPORTED One or more of the control options are not
supported in the implementation.
@@ -807,7 +807,7 @@ TcpIoTransmit ( Status = EFI_DEVICE_ERROR;
//
- // Trasnmit the packet.
+ // Transmit the packet.
//
if (TcpIo->TcpVersion == TCP_VERSION_4) {
TcpIo->TxToken.Tcp4Token.Packet.TxData = (EFI_TCP4_TRANSMIT_DATA *) Data;
@@ -862,14 +862,14 @@ ON_EXIT: @param[in, out] TcpIo The TcpIo which wraps the socket to be destroyed.
@param[in] Packet The buffer to hold the data copy from the socket rx buffer.
- @param[in] AsyncMode Is this receive asyncronous or not.
+ @param[in] AsyncMode Is this receive asynchronous or not.
@param[in] Timeout The time to wait for receiving the amount of data the Packet
can hold. Set to NULL for infinite wait.
@retval EFI_SUCCESS The required amount of data is received from the socket.
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.
@retval EFI_DEVICE_ERROR An unexpected network or system error occurred.
- @retval EFI_OUT_OF_RESOURCES Failed to allocate momery.
+ @retval EFI_OUT_OF_RESOURCES Failed to allocate memory.
@retval EFI_TIMEOUT Failed to receive the required amount of data in the
specified time period.
@retval Others Other errors as indicated.
|