From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.81]) by mx.groups.io with SMTP id smtpd.web11.2029.1578044465917415967 for ; Fri, 03 Jan 2020 01:41:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QYB+rzF+; spf=pass (domain: redhat.com, ip: 207.211.31.81, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578044465; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ryrwMavjBF5XYnYbLZbofBSEyeEeaFxK1BntFIqWGxg=; b=QYB+rzF+ciUU623okCgW5lfoctt991FojxJdUaP5Jro8MN1eiGCC2cS/nxZAwml6QMzY25 Oqj9rr7XBOtinEw8Jh4ylsgKhDREOGGY2G09nxk2s+fAw/DAbHohN5GfpbtxYiamVqlgut 0tCCanUEpbH/uYzNGmYZc1qqckOo7nM= 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-319-BFRbzlVGNeezo0aSTSZK2A-1; Fri, 03 Jan 2020 04:41:02 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 25E6C800D41; Fri, 3 Jan 2020 09:41:00 +0000 (UTC) Received: from x1w.redhat.com (ovpn-116-190.ams2.redhat.com [10.36.116.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2282760BF7; Fri, 3 Jan 2020 09:40:57 +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: [PATCH v2 46/78] NetworkPkg/SnpDxe: Fix few typos Date: Fri, 3 Jan 2020 10:07:40 +0100 Message-Id: <20200103090812.10592-47-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.12 X-MC-Unique: BFRbzlVGNeezo0aSTSZK2A-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur 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 Signed-off-by: Philippe Mathieu-Daude --- v2: Fixed ususlly/ususally -> usually (Maciej Rabeda) --- NetworkPkg/SnpDxe/Snp.h | 8 ++++---- NetworkPkg/SnpDxe/Callback.c | 2 +- NetworkPkg/SnpDxe/Shutdown.c | 2 +- NetworkPkg/SnpDxe/Snp.c | 6 +++--- NetworkPkg/SnpDxe/WaitForPacket.c | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/NetworkPkg/SnpDxe/Snp.h b/NetworkPkg/SnpDxe/Snp.h index 9e4b7d6f86a0..66b5f948e27c 100644 --- a/NetworkPkg/SnpDxe/Snp.h +++ b/NetworkPkg/SnpDxe/Snp.h @@ -1,5 +1,5 @@ /** @file - Declaration of strctures and functions for SnpDxe driver. + Declaration of structures and functions for SnpDxe driver. =20 Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -289,7 +289,7 @@ SnpUndi32CallbackBlock ( @param UniqueId This was supplied to UNDI at Undi_Start, SNP uses t= his to store Undi interface context (Undi does not read or= write this variable) - @param MicroSeconds number of micro seconds to pause, ususlly multiple = of 10. + @param MicroSeconds number of micro seconds to pause, usually multiple = of 10. **/ VOID EFIAPI @@ -378,7 +378,7 @@ SnpUndi32CallbackUnmap ( need to synchronize their contents whenever it writes to/reads from the = buffer using either the cpu address or the device address. =20 - EFI does not provide a sync call, since virt=3Dphysical, we sould just d= o + EFI does not provide a sync call, since virt=3Dphysical, we should just = do the synchronization ourself here! =20 @param UniqueId This was supplied to UNDI at Undi_Start, SNP uses thi= s to store @@ -1015,7 +1015,7 @@ SnpUndi32Receive ( ); =20 /** - Nofication call back function for WaitForPacket event. + Notification call back function for WaitForPacket event. =20 @param Event EFI Event. @param SnpPtr Pointer to SNP_DRIVER structure. diff --git a/NetworkPkg/SnpDxe/Callback.c b/NetworkPkg/SnpDxe/Callback.c index 6387dbdb35ef..0c0b81fdca8e 100644 --- a/NetworkPkg/SnpDxe/Callback.c +++ b/NetworkPkg/SnpDxe/Callback.c @@ -53,7 +53,7 @@ SnpUndi32CallbackBlock ( @param UniqueId This was supplied to UNDI at Undi_Start, SNP uses t= his to store Undi interface context (Undi does not read or= write this variable). - @param MicroSeconds Number of micro seconds to pause, ususlly multiple = of 10. + @param MicroSeconds Number of micro seconds to pause, usually multiple = of 10. =20 **/ VOID diff --git a/NetworkPkg/SnpDxe/Shutdown.c b/NetworkPkg/SnpDxe/Shutdown.c index aad0fe8493a8..ae823fd35243 100644 --- a/NetworkPkg/SnpDxe/Shutdown.c +++ b/NetworkPkg/SnpDxe/Shutdown.c @@ -1,5 +1,5 @@ /** @file - Implementation of shuting down a network adapter. + Implementation of shutting down a network adapter. =20 Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/NetworkPkg/SnpDxe/Snp.c b/NetworkPkg/SnpDxe/Snp.c index 1099dbfa6a28..078b27cf5edd 100644 --- a/NetworkPkg/SnpDxe/Snp.c +++ b/NetworkPkg/SnpDxe/Snp.c @@ -782,7 +782,7 @@ SimpleNetworkDriverStop ( =20 if (PcdGetBool (PcdSnpCreateExitBootServicesEvent)) { // - // Close EXIT_BOOT_SERIVES Event + // Close EXIT_BOOT_SERVICES Event // gBS->CloseEvent (Snp->ExitBootServicesEvent); } @@ -840,9 +840,9 @@ EFI_DRIVER_BINDING_PROTOCOL gSimpleNetworkDriverBinding= =3D { @param ImageHandle The driver image handle. @param SystemTable The system table. =20 - @retval EFI_SUCEESS Initialization routine has found UNDI hardware, + @retval EFI_SUCCESS Initialization routine has found UNDI hardware, loaded it's ROM, and installed a notify event f= or - the Network Indentifier Interface Protocol + the Network Identifier Interface Protocol successfully. @retval Other Return value from HandleProtocol for DeviceIoProtocol or LoadedImageProtocol diff --git a/NetworkPkg/SnpDxe/WaitForPacket.c b/NetworkPkg/SnpDxe/WaitForP= acket.c index 866a1e8c0e8c..c337e69290f9 100644 --- a/NetworkPkg/SnpDxe/WaitForPacket.c +++ b/NetworkPkg/SnpDxe/WaitForPacket.c @@ -10,7 +10,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 =20 /** - Nofication call back function for WaitForPacket event. + Notification call back function for WaitForPacket event. =20 @param Event EFI Event. @param SnpPtr Pointer to SNP_DRIVER structure. --=20 2.21.0