diff options
author | Antoine Coeur <coeur@gmx.fr> | 2020-02-07 02:07:56 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-10 22:30:07 +0000 |
commit | 5feb1fbd44bc1cea09ded439dd205f2feece2943 (patch) | |
tree | c0362a1fd4e90489569b2b284cafe1075db7ee75 /NetworkPkg/MnpDxe/MnpConfig.c | |
parent | 6deb4baa1f778550df7178d40da37e59e3512f5e (diff) | |
download | edk2-5feb1fbd44bc1cea09ded439dd205f2feece2943.tar.gz edk2-5feb1fbd44bc1cea09ded439dd205f2feece2943.tar.bz2 edk2-5feb1fbd44bc1cea09ded439dd205f2feece2943.zip |
NetworkPkg/MnpDxe: Fix various typos
Fix various typos in documentation, comments and debug strings.
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-44-philmd@redhat.com>
[lersek@redhat.com: replace EFI_D_xxx w/ DEBUG_xxx to shut up PatchCheck]
Diffstat (limited to 'NetworkPkg/MnpDxe/MnpConfig.c')
-rw-r--r-- | NetworkPkg/MnpDxe/MnpConfig.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/NetworkPkg/MnpDxe/MnpConfig.c b/NetworkPkg/MnpDxe/MnpConfig.c index 5906ad546f..3a51210060 100644 --- a/NetworkPkg/MnpDxe/MnpConfig.c +++ b/NetworkPkg/MnpDxe/MnpConfig.c @@ -707,7 +707,7 @@ MnpCreateServiceData ( //
MnpServiceData = AllocateZeroPool (sizeof (MNP_SERVICE_DATA));
if (MnpServiceData == NULL) {
- DEBUG ((EFI_D_ERROR, "MnpCreateServiceData: Faild to allocate memory for the new Mnp Service Data.\n"));
+ DEBUG ((DEBUG_ERROR, "MnpCreateServiceData: Failed to allocate memory for the new Mnp Service Data.\n"));
return NULL;
}
@@ -742,7 +742,7 @@ MnpCreateServiceData ( &MnpServiceData->DevicePath
);
if (MnpServiceHandle == NULL) {
- DEBUG ((EFI_D_ERROR, "MnpCreateServiceData: Faild to create child handle.\n"));
+ DEBUG ((DEBUG_ERROR, "MnpCreateServiceData: Failed to create child handle.\n"));
return NULL;
}
@@ -1325,7 +1325,7 @@ MnpStop ( if (MnpDeviceData->ConfiguredChildrenNumber > 0) {
//
- // If there are other configured chilren, return and keep the timers and
+ // If there are other configured children, return and keep the timers and
// simple network unchanged.
//
return EFI_SUCCESS;
@@ -1402,7 +1402,7 @@ MnpFlushRcvdDataQueue ( @param[in, out] Instance Pointer to the mnp instance context data.
@param[in] ConfigData Pointer to the configuration data used to configure
- the isntance.
+ the instance.
@retval EFI_SUCCESS The Instance is configured.
@retval EFI_UNSUPPORTED EnableReceiveTimestamps is on and the
@@ -1605,7 +1605,7 @@ MnpConfigReceiveFilters ( EnableFilterBits |= EFI_SIMPLE_NETWORK_RECEIVE_MULTICAST;
//
- // Allocate pool for the mulicast addresses.
+ // Allocate pool for the multicast addresses.
//
MCastFilterCnt = MnpDeviceData->GroupAddressCount;
MCastFilter = AllocatePool (sizeof (EFI_MAC_ADDRESS) * MCastFilterCnt);
@@ -1696,7 +1696,7 @@ MnpConfigReceiveFilters ( @param[in, out] Instance Pointer to the mnp instance context data.
@param[in, out] CtrlBlk Pointer to the group address control block.
- @param[in, out] GroupAddress Pointer to the group adress.
+ @param[in, out] GroupAddress Pointer to the group address.
@param[in] MacAddress Pointer to the mac address.
@param[in] HwAddressSize The hardware address size.
@@ -1851,7 +1851,7 @@ MnpGroupOp ( if (JoinFlag) {
//
- // A new gropu address is to be added.
+ // A new group address is to be added.
//
GroupAddress = NULL;
AddressExist = FALSE;
|