diff options
author | Antoine Coeur <coeur@gmx.fr> | 2020-02-07 02:07:48 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-10 22:30:07 +0000 |
commit | d80c3d6e1926b22c210562484711ac36ba986d94 (patch) | |
tree | 7f2a24b972795189fc4706c085bd27af832d41d4 /NetworkPkg | |
parent | 81a46615f5bea7a455f2210e55cebb5a68dc0e13 (diff) | |
download | edk2-d80c3d6e1926b22c210562484711ac36ba986d94.zip edk2-d80c3d6e1926b22c210562484711ac36ba986d94.tar.gz edk2-d80c3d6e1926b22c210562484711ac36ba986d94.tar.bz2 |
NetworkPkg/DpcDxe: Fix few typos
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>
Diffstat (limited to 'NetworkPkg')
-rw-r--r-- | NetworkPkg/DpcDxe/Dpc.c | 6 | ||||
-rw-r--r-- | NetworkPkg/DpcDxe/Dpc.h | 2 | ||||
-rw-r--r-- | NetworkPkg/Include/Protocol/Dpc.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/NetworkPkg/DpcDxe/Dpc.c b/NetworkPkg/DpcDxe/Dpc.c index 8a49094..7c85dd8 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.
diff --git a/NetworkPkg/DpcDxe/Dpc.h b/NetworkPkg/DpcDxe/Dpc.h index 2017a21..a5e6f7b 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 1e1d0d3..5e50f6c 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;
|