summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/ArpDxe/ArpDriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'NetworkPkg/ArpDxe/ArpDriver.c')
-rw-r--r--NetworkPkg/ArpDxe/ArpDriver.c14
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.