public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Gary Lin <glin@suse.com>
Cc: edk2-devel-01 <edk2-devel@lists.01.org>,
	Leif Lindholm <leif.lindholm@linaro.org>
Subject: Re: [PATCH 09/33] EmbeddedPkg: Fix typos in comments
Date: Wed, 19 Oct 2016 16:09:32 +0100	[thread overview]
Message-ID: <CAKv+Gu-ouzUZhuDr1r7JGx85KJYAa6JDGvHzuargcuLVwmMArA@mail.gmail.com> (raw)
In-Reply-To: <20161019070138.16424-10-glin@suse.com>

On 19 October 2016 at 08:01, Gary Lin <glin@suse.com> wrote:
> - reseting -> resetting
> - stoping -> stopping
> - Libary -> Library
> - paramter -> parameter
> - availible -> available
> - availble -> available
> - proccessed -> processed
>
> Cc: Leif Lindholm <leif.lindholm@linaro.org>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Gary Lin <glin@suse.com>

Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> ---
>  EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c                                     | 2 +-
>  EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c                                | 2 +-
>  EmbeddedPkg/GdbStub/GdbStub.c                                                   | 2 +-
>  EmbeddedPkg/GdbStub/GdbStubInternal.h                                           | 2 +-
>  EmbeddedPkg/Include/Library/GdbSerialLib.h                                      | 4 ++--
>  EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c                               | 2 +-
>  EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c                               | 4 ++--
>  EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h                               | 2 +-
>  EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c                              | 2 +-
>  EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c               | 4 ++--
>  EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c                                 | 4 ++--
>  EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c                      | 4 ++--
>  EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c                          | 2 +-
>  EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c | 2 +-
>  14 files changed, 19 insertions(+), 19 deletions(-)
>
> diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
> index aabaf60..bdc390f 100644
> --- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
> +++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
> @@ -1516,7 +1516,7 @@ SnpReceive (
>      }
>
>      //
> -    // Restart the receiver and the transmitter without reseting the FIFOs
> +    // Restart the receiver and the transmitter without resetting the FIFOs
>      // as it has been done by SoftReset().
>      //
>      StartRx (0, Snp);
> diff --git a/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c b/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c
> index 5a5526c..f494655 100644
> --- a/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c
> +++ b/EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132.c
> @@ -490,7 +490,7 @@ CLOSE_PCIIO:
>  }
>
>  /**
> -  Stop this driver on ControllerHandle. Support stoping any child handles
> +  Stop this driver on ControllerHandle. Support stopping any child handles
>    created by this driver.
>
>    @param  This                 Protocol instance pointer.
> diff --git a/EmbeddedPkg/GdbStub/GdbStub.c b/EmbeddedPkg/GdbStub/GdbStub.c
> index 213038a..a75e775 100644
> --- a/EmbeddedPkg/GdbStub/GdbStub.c
> +++ b/EmbeddedPkg/GdbStub/GdbStub.c
> @@ -325,7 +325,7 @@ SendPacket (
>    $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
>    the packet teminating character '#' and the two digit checksum.
>
> -  If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
> +  If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
>    (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
>
>    If an ack '+' is not sent resend the packet
> diff --git a/EmbeddedPkg/GdbStub/GdbStubInternal.h b/EmbeddedPkg/GdbStub/GdbStubInternal.h
> index 521c344..aec39f1 100644
> --- a/EmbeddedPkg/GdbStub/GdbStubInternal.h
> +++ b/EmbeddedPkg/GdbStub/GdbStubInternal.h
> @@ -573,7 +573,7 @@ SendPacket (
>   $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
>   the packet teminating character '#' and the two digit checksum.
>
> - If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
> + If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
>   (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
>
>   If an ack '+' is not sent resend the packet
> diff --git a/EmbeddedPkg/Include/Library/GdbSerialLib.h b/EmbeddedPkg/Include/Library/GdbSerialLib.h
> index aa4c3ff..9f26fed 100644
> --- a/EmbeddedPkg/Include/Library/GdbSerialLib.h
> +++ b/EmbeddedPkg/Include/Library/GdbSerialLib.h
> @@ -51,8 +51,8 @@ GdbSerialInit (
>    Check to see if a character is available from GDB. Do not read the character as that is
>    done via GdbGetChar().
>
> -  @return TRUE  - Character availible
> -  @return FALSE - Character not availible
> +  @return TRUE  - Character available
> +  @return FALSE - Character not available
>
>  **/
>  BOOLEAN
> diff --git a/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c
> index 2b353f0..8226c80 100644
> --- a/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c
> +++ b/EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c
> @@ -603,7 +603,7 @@ GdbFPutString (
>    function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
>    responsible to invoke the passing-in function at the end of InitializeDebugAgent().
>
> -  If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
> +  If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
>    passing in the Context to be its parameter.
>
>    If Function() is NULL, Debug Agent Library instance will return after setup debug
> diff --git a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c
> index 2e67de6..80aa476 100644
> --- a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c
> +++ b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c
> @@ -93,7 +93,7 @@ gXferObjectReadResponse (
>    1) Length will generally be max remote packet size (big enough)
>    2) First Offset of an XML document read needs to be 0
>    3) This code will return back small chunks of the XML document on every read.
> -     Each subseqent call will ask for the next availble part of the document.
> +     Each subseqent call will ask for the next available part of the document.
>
>    Note: The only variable size element in the XML is:
>    "  <library name=\"%s\"><segment address=\"%p\"/></library>\n" and it is
> @@ -257,7 +257,7 @@ SendPacket (
>    $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
>    the packet teminating character '#' and the two digit checksum.
>
> -  If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
> +  If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
>    (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
>
>    If an ack '+' is not sent resend the packet
> diff --git a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h
> index dfdc016..7d85481 100644
> --- a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h
> +++ b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.h
> @@ -519,7 +519,7 @@ SendPacket (
>   $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
>   the packet teminating character '#' and the two digit checksum.
>
> - If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed.
> + If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
>   (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
>
>   If an ack '+' is not sent resend the packet
> diff --git a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c
> index d465b21..f1d7f3f 100644
> --- a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c
> +++ b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c
> @@ -922,7 +922,7 @@ RemoveBreakPoint (
>    function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is
>    responsible to invoke the passing-in function at the end of InitializeDebugAgent().
>
> -  If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by
> +  If the parameter Function is not NULL, Debug Agent Library instance will invoke it by
>    passing in the Context to be its parameter.
>
>    If Function() is NULL, Debug Agent Library instance will return after setup debug
> diff --git a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
> index e3d1b47..ffd8951 100644
> --- a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
> +++ b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
> @@ -94,8 +94,8 @@ GdbSerialInit (
>    Check to see if a character is available from GDB. Do not read the character as that is
>    done via GdbGetChar().
>
> -  @return TRUE  - Character availible
> -  @return FALSE - Character not availible
> +  @return TRUE  - Character available
> +  @return FALSE - Character not available
>
>  **/
>  BOOLEAN
> diff --git a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
> index 7ea976f..069d87c 100644
> --- a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
> +++ b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
> @@ -165,8 +165,8 @@ GdbSerialInit (
>    Check to see if a character is available from GDB. Do not read the character as that is
>    done via GdbGetChar().
>
> -  @return TRUE  - Character availible
> -  @return FALSE - Character not availible
> +  @return TRUE  - Character available
> +  @return FALSE - Character not available
>
>  **/
>  BOOLEAN
> diff --git a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c
> index ec89cfd..0b1e6b0 100644
> --- a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c
> +++ b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Capsule.c
> @@ -120,7 +120,7 @@ Returns:
>    }
>
>    //
> -  //Assume that capsules have the same flags on reseting or not.
> +  //Assume that capsules have the same flags on resetting or not.
>    //
>    CapsuleHeader = CapsuleHeaderArray[0];
>
> @@ -253,7 +253,7 @@ Returns:
>
>    SupportCapsuleSize(&MaxSizePopulate,&MaxSizeNonPopulate);
>    //
> -  //Assume that capsules have the same flags on reseting or not.
> +  //Assume that capsules have the same flags on resetting or not.
>    //
>    CapsuleHeader = CapsuleHeaderArray[0];
>    if ((CapsuleHeader->Flags & CAPSULE_FLAGS_PERSIST_ACROSS_RESET) != 0) {
> diff --git a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c
> index c35d72c..9e2b2e3 100644
> --- a/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c
> +++ b/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/Rtc.c
> @@ -584,7 +584,7 @@ libGetWakeupTime (
>    UINT8           Century;
>
>    //
> -  // Check paramters for null pointers
> +  // Check parameters for null pointers
>    //
>    if ((Enabled == NULL) || (Pending == NULL) || (Time == NULL)) {
>      return EFI_INVALID_PARAMETER;
> diff --git a/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c b/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c
> index cee15c4..7b08de8 100644
> --- a/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c
> +++ b/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.c
> @@ -53,7 +53,7 @@ ExtractGuidedSectionRegisterHandlers (
>    PRE_PI_EXTRACT_GUIDED_SECTION_DATA  *SavedData;
>    UINT32                              Index;
>    //
> -  // Check input paramter.
> +  // Check input parameter.
>    //
>    if (SectionGuid == NULL) {
>      return RETURN_INVALID_PARAMETER;
> --
> 2.10.1
>


  reply	other threads:[~2016-10-19 15:09 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-19  7:01 [PATCH 00/33] Fix typos in comments and variables Gary Lin
2016-10-19  7:01 ` [PATCH 01/33] ArmPkg: Fix typos in comments Gary Lin
2016-10-19 15:09   ` Ard Biesheuvel
2016-10-19 15:15     ` Laszlo Ersek
2016-10-19 15:33       ` Leif Lindholm
2016-10-19  7:01 ` [PATCH 02/33] BaseTools: Fix typos in comments and variables Gary Lin
2016-10-19  7:30   ` Gao, Liming
2016-10-19  7:36   ` Zhu, Yonghong
2016-10-19  7:01 ` [PATCH 03/33] CorebootPayloadPkg: Fix typos in comments Gary Lin
2016-10-26 18:50   ` Ma, Maurice
2016-10-19  7:01 ` [PATCH 04/33] CorebootModulePkg: " Gary Lin
2016-10-26 18:41   ` Ma, Maurice
2016-10-19  7:01 ` [PATCH 05/33] CryptoPkg: " Gary Lin
2016-10-26  3:00   ` Long, Qin
2016-10-19  7:01 ` [PATCH 06/33] DuetPkg: " Gary Lin
2016-10-19  7:46   ` Ni, Ruiyu
2016-10-19  7:01 ` [PATCH 07/33] EdkCompatibilityPkg: " Gary Lin
2016-10-19  8:19   ` Gao, Liming
2016-10-19  7:01 ` [PATCH 08/33] EmulatorPkg: Fix typos in comments and variables Gary Lin
2016-10-19 20:37   ` Jordan Justen
2016-10-20  8:16     ` Laszlo Ersek
2016-10-19  7:01 ` [PATCH 09/33] EmbeddedPkg: Fix typos in comments Gary Lin
2016-10-19 15:09   ` Ard Biesheuvel [this message]
2016-10-19  7:01 ` [PATCH 10/33] IntelFrameworkModulePkg: " Gary Lin
2016-10-20  1:08   ` Fan, Jeff
2016-10-19  7:01 ` [PATCH 11/33] IntelFrameworkPkg: " Gary Lin
2016-10-20  1:08   ` Fan, Jeff
2016-10-19  7:01 ` [PATCH 12/33] IntelFspPkg: " Gary Lin
2016-10-19  7:06   ` Yao, Jiewen
2016-10-19  7:01 ` [PATCH 13/33] IntelFspWrapperPkg: " Gary Lin
2016-10-19  7:08   ` Yao, Jiewen
2016-10-19  7:01 ` [PATCH 14/33] IntelFsp2Pkg: " Gary Lin
2016-10-19  7:06   ` Yao, Jiewen
2016-10-19  7:12   ` Mudusuru, Giri P
2016-10-19  7:01 ` [PATCH 15/33] IntelFsp2WrapperPkg: Fix a typo in the comment Gary Lin
2016-10-19  7:07   ` Yao, Jiewen
2016-10-19  7:11   ` Mudusuru, Giri P
2016-10-19  7:01 ` [PATCH 16/33] MdeModulePkg: BootManagerMenuApp: Fix typos in comments Gary Lin
2016-10-19  8:20   ` Tian, Feng
2016-10-19  7:01 ` [PATCH 17/33] MdeModulePkg/Bus: " Gary Lin
2016-10-19  7:01 ` [PATCH 18/33] MdeModulePkg/Core: " Gary Lin
2016-10-19  8:20   ` Tian, Feng
2016-10-19  7:01 ` [PATCH 19/33] MdeModulePkg/Include: " Gary Lin
2016-10-19  7:01 ` [PATCH 20/33] MdeModulePkg/Library: Fix typos in comments and variables Gary Lin
2016-10-19  7:01 ` [PATCH 21/33] MdeModulePkg/Universal: Fix typos in comments Gary Lin
2016-10-19  7:01 ` [PATCH 22/33] MdePkg: " Gary Lin
2016-10-19  8:21   ` Gao, Liming
2016-10-19  7:01 ` [PATCH 23/33] NetworkPkg: " Gary Lin
2016-10-19  7:21   ` Fu, Siyuan
2016-10-26  0:53   ` Fu, Siyuan
2016-10-19  7:01 ` [PATCH 24/33] Nt32Pkg: Fix typos in comments and variables Gary Lin
2016-10-19  7:50   ` Ni, Ruiyu
2016-10-19  7:01 ` [PATCH 25/33] OptionRomPkg: Fix typos in comments Gary Lin
2016-10-19  7:51   ` Ni, Ruiyu
2016-10-19  7:01 ` [PATCH 26/33] OvmfPkg: " Gary Lin
2016-10-19  7:01 ` [PATCH 27/33] QuarkPlatformPkg: " Gary Lin
2016-10-25 20:53   ` Kinney, Michael D
2016-10-19  7:01 ` [PATCH 28/33] QuarkSocPkg: " Gary Lin
2016-10-25 21:00   ` Kinney, Michael D
2016-10-19  7:01 ` [PATCH 29/33] SecurityPkg: " Gary Lin
2016-10-27  1:29   ` Zhang, Chao B
2016-11-14  3:12   ` Zhang, Chao B
2016-11-14  4:03     ` Gary Lin
2016-11-14  6:24       ` Gao, Liming
2016-11-14  8:30         ` Gary Lin
2016-10-19  7:01 ` [PATCH 30/33] ShellPkg: Fix typos in comments and variables Gary Lin
2016-10-19  7:51   ` Ni, Ruiyu
2016-10-19 20:29     ` Carsey, Jaben
2016-10-20  1:55       ` Gary Lin
2016-10-19  7:01 ` [PATCH 31/33] SourceLevelDebugPkg: Fix typos in comments Gary Lin
2016-10-19  7:46   ` Wu, Hao A
2016-10-19  7:01 ` [PATCH 32/33] UefiCpuPkg: " Gary Lin
2016-10-20  1:58   ` Fan, Jeff
2016-10-20  2:08     ` Gary Lin
2016-10-20  2:45       ` Fan, Jeff
2016-10-19  7:01 ` [PATCH 33/33] Vlv2TbltDevicePkg: " Gary Lin
2016-10-24  1:33   ` Wei, David
2016-10-19  7:28 ` [PATCH 00/33] Fix typos in comments and variables Zeng, Star
2016-10-19 14:50 ` Leif Lindholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKv+Gu-ouzUZhuDr1r7JGx85KJYAa6JDGvHzuargcuLVwmMArA@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox