]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg/DpcDxe: Fix few typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:07:48 +0000 (02:07 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
Fix few 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-36-philmd@redhat.com>

NetworkPkg/DpcDxe/Dpc.c
NetworkPkg/DpcDxe/Dpc.h
NetworkPkg/Include/Protocol/Dpc.h

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