From d80c3d6e1926b22c210562484711ac36ba986d94 Mon Sep 17 00:00:00 2001 From: Antoine Coeur Date: Fri, 7 Feb 2020 02:07:48 +0100 Subject: [PATCH] NetworkPkg/DpcDxe: Fix few typos Fix few typos in comments and documentation. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Maciej Rabeda Signed-off-by: Philippe Mathieu-Daude Message-Id: <20200207010831.9046-36-philmd@redhat.com> --- NetworkPkg/DpcDxe/Dpc.c | 6 +++--- NetworkPkg/DpcDxe/Dpc.h | 2 +- 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 8a490949dc..7c85dd8757 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 2017a215e3..a5e6f7b62f 100644 --- a/NetworkPkg/DpcDxe/Dpc.h +++ b/NetworkPkg/DpcDxe/Dpc.h @@ -24,7 +24,7 @@ Abstract: #include // -// 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 1e1d0d316d..5e50f6cf30 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; -- 2.39.2