From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5F84921A08D8A for ; Mon, 12 Jun 2017 23:01:31 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jun 2017 23:02:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,336,1493708400"; d="scan'208";a="867350187" Received: from jiaxinwu-mobl2.ccr.corp.intel.com ([10.239.196.88]) by FMSMGA003.fm.intel.com with ESMTP; 12 Jun 2017 23:02:44 -0700 From: Jiaxin Wu To: edk2-devel@lists.01.org Cc: Ye Ting , Fu Siyuan , Wu Jiaxin Date: Tue, 13 Jun 2017 14:02:41 +0800 Message-Id: <1497333762-18940-2-git-send-email-jiaxin.wu@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1497333762-18940-1-git-send-email-jiaxin.wu@intel.com> References: <1497333762-18940-1-git-send-email-jiaxin.wu@intel.com> Subject: [Patch 1/2] MdeModulePkg/Network: Typo fix X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 06:01:31 -0000 warter -> water Maunual -> Manual Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 4 ++-- MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c index f4dfbb6..3e38085 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c @@ -1226,11 +1226,11 @@ Ip4Config2SetPolicy ( @retval EFI_SUCCESS The specified configuration data for the EFI IPv6 network stack was set. **/ EFI_STATUS -Ip4Config2SetMaunualAddress ( +Ip4Config2SetManualAddress ( IN IP4_CONFIG2_INSTANCE *Instance, IN UINTN DataSize, IN VOID *Data ) { @@ -1926,11 +1926,11 @@ Ip4Config2InitInstance ( DataItem->DataSize = sizeof (Instance->Policy); Instance->Policy = Ip4Config2PolicyStatic; SET_DATA_ATTRIB (DataItem->Attribute, DATA_ATTRIB_SIZE_FIXED); DataItem = &Instance->DataItem[Ip4Config2DataTypeManualAddress]; - DataItem->SetData = Ip4Config2SetMaunualAddress; + DataItem->SetData = Ip4Config2SetManualAddress; DataItem->Status = EFI_NOT_FOUND; DataItem = &Instance->DataItem[Ip4Config2DataTypeGateway]; DataItem->SetData = Ip4Config2SetGateway; DataItem->Status = EFI_NOT_FOUND; diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h b/MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h index 8c25c63..9c2e6d0 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h @@ -371,11 +371,11 @@ typedef enum { /// /// The buffer structure of rcvd data and send data used by socket. /// typedef struct _SOCK_BUFFER { UINT32 HighWater; ///< The buffersize upper limit of sock_buffer - UINT32 LowWater; ///< The low warter mark of sock_buffer + UINT32 LowWater; ///< The low water mark of sock_buffer NET_BUF_QUEUE *DataQueue; ///< The queue to buffer data } SOCK_BUFFER; /** The handler of protocol for request from socket. @@ -591,12 +591,12 @@ typedef struct _SOCK_INIT_DATA { SOCK_TYPE Type; UINT8 State; SOCKET *Parent; ///< The parent of this socket UINT32 BackLog; ///< The connection limit for listening socket - UINT32 SndBufferSize; ///< The high warter mark of send buffer - UINT32 RcvBufferSize; ///< The high warter mark of receive buffer + UINT32 SndBufferSize; ///< The high water mark of send buffer + UINT32 RcvBufferSize; ///< The high water mark of receive buffer VOID *Protocol; ///< The pointer to protocol function template ///< wanted to install on socket // // Callbacks after socket is created and before socket is to be destroyed. -- 1.9.5.msysgit.1