diff options
author | Antoine Coeur <coeur@gmx.fr> | 2020-02-07 02:07:43 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-10 22:30:07 +0000 |
commit | 8f628f7820f797438ca21eb6bbcef6874bea41fb (patch) | |
tree | 21e02d8329a07c1980a7b78231dc24e59a8348aa /NetworkPkg/ArpDxe/ArpDriver.c | |
parent | 8d774c745c28cf49de20d4f495b3d06fc5b9757f (diff) | |
download | edk2-8f628f7820f797438ca21eb6bbcef6874bea41fb.tar.gz edk2-8f628f7820f797438ca21eb6bbcef6874bea41fb.tar.bz2 edk2-8f628f7820f797438ca21eb6bbcef6874bea41fb.zip |
NetworkPkg/ArpDxe: 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@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-31-philmd@redhat.com>
[lersek@redhat.com: replace EFI_D_xxx w/ DEBUG_xxx to shut up PatchCheck]
Diffstat (limited to 'NetworkPkg/ArpDxe/ArpDriver.c')
-rw-r--r-- | NetworkPkg/ArpDxe/ArpDriver.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/NetworkPkg/ArpDxe/ArpDriver.c b/NetworkPkg/ArpDxe/ArpDriver.c index 632d691d75..2b8da5a2ba 100644 --- a/NetworkPkg/ArpDxe/ArpDriver.c +++ b/NetworkPkg/ArpDxe/ArpDriver.c @@ -195,7 +195,7 @@ ArpCleanService ( if (ArpService->PeriodicTimer != NULL) {
//
- // Cancle and close the PeriodicTimer.
+ // Cancel and close the PeriodicTimer.
//
gBS->SetTimer (ArpService->PeriodicTimer, TimerCancel, 0);
gBS->CloseEvent (ArpService->PeriodicTimer);
@@ -203,7 +203,7 @@ ArpCleanService ( if (ArpService->RxToken.Event != NULL) {
//
- // Cancle the RxToken and close the event in the RxToken.
+ // Cancel the RxToken and close the event in the RxToken.
//
ArpService->Mnp->Cancel (ArpService->Mnp, NULL);
gBS->CloseEvent (ArpService->RxToken.Event);
@@ -288,7 +288,7 @@ ArpDestroyChildEntryInHandleBuffer ( @retval EFI_ACCESS_DENIED The device specified by ControllerHandle and
RemainingDevicePath is already being managed by
a different driver or an application that
- requires exclusive acces. Currently not implemented.
+ requires exclusive access. Currently not implemented.
@retval EFI_UNSUPPORTED The device specified by ControllerHandle and
RemainingDevicePath is not supported by the
driver specified by This.
@@ -363,7 +363,7 @@ ArpDriverBindingSupported ( Currently not implemented.
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of
resources.
- @retval Others The driver failded to start the device.
+ @retval Others The driver failed to start the device.
**/
EFI_STATUS
@@ -547,7 +547,7 @@ ArpDriverBindingStop ( then a new handle is created. If it is a pointer to an existing
UEFI handle, then the protocol is added to the existing UEFI handle.
- @retval EFI_SUCCES The protocol was added to ChildHandle.
+ @retval EFI_SUCCESS The protocol was added to ChildHandle.
@retval EFI_INVALID_PARAMETER ChildHandle is NULL.
@retval EFI_OUT_OF_RESOURCES There are not enough resources available to create
the child
@@ -598,7 +598,7 @@ ArpServiceBindingCreateChild ( NULL
);
if (EFI_ERROR (Status)) {
- DEBUG ((EFI_D_ERROR, "ArpSBCreateChild: faild to install ARP protocol, %r.\n", Status));
+ DEBUG ((DEBUG_ERROR, "ArpSBCreateChild: failed to install ARP protocol, %r.\n", Status));
FreePool (Instance);
return Status;
@@ -672,7 +672,7 @@ ERROR: @param This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance.
@param ChildHandle Handle of the child to destroy
- @retval EFI_SUCCES The protocol was removed from ChildHandle.
+ @retval EFI_SUCCESS The protocol was removed from ChildHandle.
@retval EFI_UNSUPPORTED ChildHandle does not support the protocol that is
being removed.
@retval EFI_INVALID_PARAMETER Child handle is NULL.
|