From nobody Sat Feb 7 06:20:42 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52763+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52763+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578042573; cv=none; d=zohomail.com; s=zohoarc; b=D2XJ2BwBOt45wRdQjizVGAIg0iQRT9Zg5ctQUGtgi+LYL9TQ/2fD9G2prNe7JQRJ1F1/EALzBONJPQ3fp7uCVzjwcLBxuyzZ62G51tc3MVeVaoAjBCruqwnX1rXkLIKXAtnQshTebhkcHUhV/rDsCP5XfmSwePKfiQJ0mDQQoJs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578042573; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=kEYTCx4tPSLGoRmiE85LhnOHzpHNkxZ+C+493qZXZLU=; b=ejNROLG4pJE/hVg+zksjvKW+yTx8cgIce9I+PH/6hhCwzoLYAPYzhAiNxv0Ouyxs/FCcRL3fZHrFNdzNsFnAcdYDTl8ZzicIgBDA5DZnIGxZSrAP+Q6ulPpbKoREK/tl+4Id6PtPjPu4Yr/e/qZtEW7wyj/KcKiU0J3XN/squfM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52763+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1578042573703218.84192159231145; Fri, 3 Jan 2020 01:09:33 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id L4MkYY1788612xYkQmW1mAuE; Fri, 03 Jan 2020 01:09:33 -0800 X-Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.120]) by mx.groups.io with SMTP id smtpd.web10.1939.1578042572667568001 for ; Fri, 03 Jan 2020 01:09:32 -0800 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-171-VkDvXERvM12rPodXIqKlpQ-1; Fri, 03 Jan 2020 04:09:30 -0500 X-Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E217A100550E; Fri, 3 Jan 2020 09:09:28 +0000 (UTC) X-Received: from x1w.redhat.com (ovpn-116-190.ams2.redhat.com [10.36.116.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 62E927BA25; Fri, 3 Jan 2020 09:09:27 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Jiaxin Wu , Siyuan Fu , Maciej Rabeda , Philippe Mathieu-Daude Subject: [edk2-devel] [PATCH v2 30/78] NetworkPkg/ArpDxe: Fix various typos Date: Fri, 3 Jan 2020 10:07:24 +0100 Message-Id: <20200103090812.10592-31-philmd@redhat.com> In-Reply-To: <20200103090812.10592-1-philmd@redhat.com> References: <20200103090812.10592-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: VkDvXERvM12rPodXIqKlpQ-1 X-Mimecast-Spam-Score: 0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,philmd@redhat.com X-Gm-Message-State: MvUivlaXuFj31OpXDftwWdVex1787277AA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578042573; bh=2zH3G5EBzfEuaINXLhcv9MSgIrKvwmZV3EcjVnSCwS4=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=MJ4MZ+7vBxlq8mN9rp8On6IEPuAoIVrAz82ww+8kS1+d+7opdc8DVm/VWaqt1GxZhaZ PF2OcFFjiiOTxyvF27ZBvY0HjBRDHU4yW78AyIw3pF1PRmY9wt24FuYXWdYanTKhp/i/D GVmnKFEcSSiKBUuJahDM5axzAFbkq8rzT4E= X-ZohoMail-DKIM: pass (identity @groups.io) From: Antoine Coeur Fix various typos in documentation, comments and debug strings. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- NetworkPkg/ArpDxe/ArpDriver.h | 10 +++++----- NetworkPkg/ArpDxe/ArpImpl.h | 14 +++++++------- NetworkPkg/ArpDxe/ArpDriver.c | 14 +++++++------- NetworkPkg/ArpDxe/ArpImpl.c | 16 ++++++++-------- NetworkPkg/ArpDxe/ArpMain.c | 10 +++++----- 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/NetworkPkg/ArpDxe/ArpDriver.h b/NetworkPkg/ArpDxe/ArpDriver.h index 0b5b06ee37d5..7dbc1c187820 100644 --- a/NetworkPkg/ArpDxe/ArpDriver.h +++ b/NetworkPkg/ArpDxe/ArpDriver.h @@ -30,7 +30,7 @@ extern EFI_COMPONENT_NAME_PROTOCOL gArpComponentName; extern EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2; =20 // -// Function prototypes for the Drivr Binding Protocol +// Function prototypes for the Driver Binding Protocol // /** Tests to see if this driver supports a given controller. @@ -55,7 +55,7 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2; @retval EFI_ACCESS_DENIED The device specified by ControllerHandl= e and RemainingDevicePath is already being ma= naged by a different driver or an application th= at - requires exclusive acces. Currently not= implemented. + requires exclusive access. Currently no= t implemented. @retval EFI_UNSUPPORTED The device specified by ControllerHandl= e and RemainingDevicePath is not supported by= the driver specified by This. @@ -97,7 +97,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. =20 **/ EFI_STATUS @@ -159,7 +159,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 exist= ing UEFI handle. =20 - @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 t= o create the child @@ -183,7 +183,7 @@ ArpServiceBindingCreateChild ( @param This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance. @param ChildHandle Handle of the child to destroy =20 - @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. diff --git a/NetworkPkg/ArpDxe/ArpImpl.h b/NetworkPkg/ArpDxe/ArpImpl.h index 47eedc1cb6f7..506f3e6ef61e 100644 --- a/NetworkPkg/ArpDxe/ArpImpl.h +++ b/NetworkPkg/ArpDxe/ArpImpl.h @@ -436,7 +436,7 @@ ArpRequest ( =20 If the request is in the internal ARP request queue, the request is abor= ted immediately and its ResolvedEvent is signaled. Only an asynchronous addr= ess - request needs to be canceled. If TargeSwAddress and ResolveEvent are both + request needs to be canceled. If TargetSwAddress and ResolvedEvent are b= oth NULL, all the pending asynchronous requests that have been issued by This instance will be cancelled and their corresponding events will be signal= ed. =20 @@ -599,7 +599,7 @@ ArpDeleteCacheEntry ( ); =20 /** - Send out an arp frame using the CachEntry and the ArpOpCode. + Send out an arp frame using the CacheEntry and the ArpOpCode. =20 @param[in] Instance Pointer to the instance context data. @param[in] CacheEntry Pointer to the configuration data use= d to @@ -636,7 +636,7 @@ ArpInitInstance ( /** Process the Arp packets received from Mnp, the procedure conforms to RFC= 826. =20 - @param[in] Context Pointer to the context data registerd to = the + @param[in] Context Pointer to the context data registered to= the Event. =20 @return None. @@ -652,7 +652,7 @@ ArpOnFrameRcvdDpc ( Queue ArpOnFrameRcvdDpc as a DPC at TPL_CALLBACK. =20 @param[in] Event The Event this notify function regist= ered to. - @param[in] Context Pointer to the context data registerd= to the + @param[in] Context Pointer to the context data registere= d to the Event. =20 @return None. @@ -668,7 +668,7 @@ ArpOnFrameRcvd ( /** Process the already sent arp packets. =20 - @param[in] Context Pointer to the context data registerd= to the + @param[in] Context Pointer to the context data registere= d to the Event. =20 @return None. @@ -684,7 +684,7 @@ ArpOnFrameSentDpc ( Request ArpOnFrameSentDpc as a DPC at TPL_CALLBACK. =20 @param[in] Event The Event this notify function regist= ered to. - @param[in] Context Pointer to the context data registerd= to the + @param[in] Context Pointer to the context data registere= d to the Event. =20 @return None. @@ -701,7 +701,7 @@ ArpOnFrameSent ( Process the arp cache olding and drive the retrying arp requests. =20 @param[in] Event The Event this notify function regist= ered to. - @param[in] Context Pointer to the context data registerd= to the + @param[in] Context Pointer to the context data registere= d to the Event. =20 @return None. diff --git a/NetworkPkg/ArpDxe/ArpDriver.c b/NetworkPkg/ArpDxe/ArpDriver.c index 632d691d7588..f50beb55bf9f 100644 --- a/NetworkPkg/ArpDxe/ArpDriver.c +++ b/NetworkPkg/ArpDxe/ArpDriver.c @@ -195,7 +195,7 @@ ArpCleanService ( =20 if (ArpService->PeriodicTimer !=3D 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 ( =20 if (ArpService->RxToken.Event !=3D 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 ControllerHandl= e and RemainingDevicePath is already being ma= naged by a different driver or an application th= at - requires exclusive acces. Currently not= implemented. + requires exclusive access. Currently no= t implemented. @retval EFI_UNSUPPORTED The device specified by ControllerHandl= e 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. =20 **/ 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 exist= ing UEFI handle. =20 - @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 t= o 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 ((EFI_D_ERROR, "ArpSBCreateChild: failed to install ARP protocol= , %r.\n", Status)); =20 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 =20 - @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. diff --git a/NetworkPkg/ArpDxe/ArpImpl.c b/NetworkPkg/ArpDxe/ArpImpl.c index 0e9ef103eff9..9cdb33f2bd66 100644 --- a/NetworkPkg/ArpDxe/ArpImpl.c +++ b/NetworkPkg/ArpDxe/ArpImpl.c @@ -55,7 +55,7 @@ ArpInitInstance ( /** Process the Arp packets received from Mnp, the procedure conforms to RFC= 826. =20 - @param[in] Context Pointer to the context data registerd to = the + @param[in] Context Pointer to the context data registered to= the Event. =20 @return None. @@ -316,7 +316,7 @@ RESTART_RECEIVE: Queue ArpOnFrameRcvdDpc as a DPC at TPL_CALLBACK. =20 @param[in] Event The Event this notify function regist= ered to. - @param[in] Context Pointer to the context data registerd= to the + @param[in] Context Pointer to the context data registere= d to the Event. =20 @return None. @@ -338,7 +338,7 @@ ArpOnFrameRcvd ( /** Process the already sent arp packets. =20 - @param[in] Context Pointer to the context data registerd= to the + @param[in] Context Pointer to the context data registere= d to the Event. =20 @return None. @@ -377,7 +377,7 @@ ArpOnFrameSentDpc ( Request ArpOnFrameSentDpc as a DPC at TPL_CALLBACK. =20 @param[in] Event The Event this notify function regist= ered to. - @param[in] Context Pointer to the context data registerd= to the + @param[in] Context Pointer to the context data registere= d to the Event. =20 @return None. @@ -401,7 +401,7 @@ ArpOnFrameSent ( Process the arp cache olding and drive the retrying arp requests. =20 @param[in] Event The Event this notify function regist= ered to. - @param[in] Context Pointer to the context data registerd= to the + @param[in] Context Pointer to the context data registere= d to the Event. =20 @return None. @@ -1008,7 +1008,7 @@ ArpConfigureInstance ( =20 =20 /** - Send out an arp frame using the CachEntry and the ArpOpCode. + Send out an arp frame using the CacheEntry and the ArpOpCode. =20 @param[in] Instance Pointer to the instance context data. @param[in] CacheEntry Pointer to the configuration data use= d to @@ -1344,7 +1344,7 @@ ArpDeleteCacheEntry ( ); =20 // - // Delete the cache entries inthe ResolvedCacheTable. + // Delete the cache entries in the ResolvedCacheTable. // Count +=3D ArpDeleteCacheEntryInTable ( &ArpService->ResolvedCacheTable, @@ -1466,7 +1466,7 @@ ArpFindCacheEntry ( ArpService =3D Instance->ArpService; =20 // - // Init the FounEntries used to hold the found cache entries. + // Init the FoundEntries used to hold the found cache entries. // NetMapInit (&FoundEntries); =20 diff --git a/NetworkPkg/ArpDxe/ArpMain.c b/NetworkPkg/ArpDxe/ArpMain.c index f06121fed452..6e8690a93689 100644 --- a/NetworkPkg/ArpDxe/ArpMain.c +++ b/NetworkPkg/ArpDxe/ArpMain.c @@ -175,7 +175,7 @@ ArpAdd ( OldTpl =3D gBS->RaiseTPL (TPL_CALLBACK); =20 // - // See whether the entry to add exists. Check the DeinedCacheTable first. + // See whether the entry to add exists. Check the DeniedCacheTable first. // CacheEntry =3D ArpFindDeniedCacheEntry ( ArpService, @@ -198,7 +198,7 @@ ArpAdd ( =20 if ((CacheEntry !=3D NULL) && !Overwrite) { // - // The entry to add exists, if not Overwirte, deny this add request. + // The entry to add exists, if not Overwrite, deny this add request. // Status =3D EFI_ACCESS_DENIED; goto UNLOCK_EXIT; @@ -542,7 +542,7 @@ ArpRequest ( ProtocolAddress.AddressPtr =3D TargetSwAddress; =20 // - // Initialize the TargetHwAddrss to a zero address. + // Initialize the TargetHwAddress to a zero address. // ZeroMem (TargetHwAddress, SnpMode->HwAddressSize); =20 @@ -675,7 +675,7 @@ SIGNAL_USER: =20 If the request is in the internal ARP request queue, the request is abor= ted immediately and its ResolvedEvent is signaled. Only an asynchronous addr= ess - request needs to be canceled. If TargeSwAddress and ResolveEvent are both + request needs to be canceled. If TargetSwAddress and ResolvedEvent are b= oth NULL, all the pending asynchronous requests that have been issued by This instance will be cancelled and their corresponding events will be signal= ed. =20 @@ -729,7 +729,7 @@ ArpCancel ( =20 // // Dispatch the DPCs queued by the NotifyFunction of the events signaled - // by ArpCancleRequest. + // by ArpCancelRequest. // DispatchDpc (); =20 --=20 2.21.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#52763): https://edk2.groups.io/g/devel/message/52763 Mute This Topic: https://groups.io/mt/69395731/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-