[edk2-devel] [PATCH 37/79] NetworkPkg/DpcDxe: Fix few typos

Philippe Mathieu-Daudé via Groups.Io philmd=redhat.com at groups.io
Tue Dec 3 16:15:20 UTC 2019


From: Antoine Coeur <coeur at gmx.fr>

Fix few typos in comments and documentation.

Cc: Jiaxin Wu <jiaxin.wu at intel.com>
Cc: Siyuan Fu <siyuan.fu at intel.com>
Cc: Maciej Rabeda <maciej.rabeda at intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd at redhat.com>
Signed-off-by: Philippe Mathieu-Daude <philmd at redhat.com>
---
 NetworkPkg/DpcDxe/Dpc.h           | 2 +-
 NetworkPkg/Include/Protocol/Dpc.h | 2 +-
 NetworkPkg/DpcDxe/Dpc.c           | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/NetworkPkg/DpcDxe/Dpc.h b/NetworkPkg/DpcDxe/Dpc.h
index 2017a215e352..a5e6f7b62f90 100644
--- a/NetworkPkg/DpcDxe/Dpc.h
+++ b/NetworkPkg/DpcDxe/Dpc.h
@@ -24,7 +24,7 @@ Abstract:
 #include <Protocol/Dpc.h>
 
 //
-// Internal data struture for managing DPCs.  A DPC entry is either on the free
+// Internal data structure for managing DPCs.  A DPC entry is either on the free
 // list or on a DPC queue at a specific EFI_TPL.
 //
 typedef struct {
diff --git a/NetworkPkg/Include/Protocol/Dpc.h b/NetworkPkg/Include/Protocol/Dpc.h
index 1e1d0d316d54..5e50f6cf308c 100644
--- a/NetworkPkg/Include/Protocol/Dpc.h
+++ b/NetworkPkg/Include/Protocol/Dpc.h
@@ -20,7 +20,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
     }
 
 //
-// Forward reference for pure ANSI compatability
+// Forward reference for pure ANSI compatibility
 //
 typedef struct _EFI_DPC_PROTOCOL  EFI_DPC_PROTOCOL;
 
diff --git a/NetworkPkg/DpcDxe/Dpc.c b/NetworkPkg/DpcDxe/Dpc.c
index 8a490949dc8c..7c85dd8757c3 100644
--- a/NetworkPkg/DpcDxe/Dpc.c
+++ b/NetworkPkg/DpcDxe/Dpc.c
@@ -28,7 +28,7 @@ EFI_DPC_PROTOCOL mDpc = {
 };
 
 //
-// Global variables used to meaasure the DPC Queue Depths
+// Global variables used to measure the DPC Queue Depths
 //
 UINTN  mDpcQueueDepth = 0;
 UINTN  mMaxDpcQueueDepth = 0;
@@ -42,7 +42,7 @@ UINTN  mMaxDpcQueueDepth = 0;
 LIST_ENTRY      mDpcEntryFreeList = INITIALIZE_LIST_HEAD_VARIABLE(mDpcEntryFreeList);
 
 //
-// An array of DPC queues.  A DPC queue is allocated for every leval EFI_TPL value.
+// An array of DPC queues.  A DPC queue is allocated for every level EFI_TPL value.
 // As DPCs are queued, they are added to the end of the linked list.
 // As DPCs are dispatched, they are removed from the beginning of the linked list.
 //
@@ -299,7 +299,7 @@ DpcDispatchDpc (
   @param  ImageHandle            The image handle of the driver.
   @param  SystemTable            The system table.
 
-  @retval EFI_SUCCES             The DPC queues were initialized and the EFI_DPC_PROTOCOL was
+  @retval EFI_SUCCESS            The DPC queues were initialized and the EFI_DPC_PROTOCOL was
                                  installed onto a new handle.
   @retval Others                 Failed to install EFI_DPC_PROTOCOL.
 
-- 
2.21.0


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51642): https://edk2.groups.io/g/devel/message/51642
Mute This Topic: https://groups.io/mt/65773967/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list