[edk2-devel] [PATCH 08/24] EmbeddedPkg: Remove duplicated words

Chang, Abner via groups.io abner.chang=amd.com at groups.io
Wed Aug 24 13:31:25 UTC 2022


[AMD Official Use Only - General]

Reviewed-by: Abner Chang <abner.chang at amd.com>

> -----Original Message-----
> From: Pierre.Gondois at arm.com <Pierre.Gondois at arm.com>
> Sent: Wednesday, August 24, 2022 12:00 AM
> To: devel at edk2.groups.io
> Cc: Pierre Gondois <pierre.gondois at arm.com>; Leif Lindholm
> <quic_llindhol at quicinc.com>; Ard Biesheuvel <ardb+tianocore at kernel.org>;
> Chang, Abner <Abner.Chang at amd.com>
> Subject: [PATCH 08/24] EmbeddedPkg: Remove duplicated words
> 
> [CAUTION: External Email]
> 
> From: Pierre Gondois <pierre.gondois at arm.com>
> 
> In an effort to clean the documentation of the above package, remove
> duplicated words.
> 
> Cc: Leif Lindholm <quic_llindhol at quicinc.com>
> Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
> Cc: Abner Chang <abner.chang at amd.com>
> Signed-off-by: Pierre Gondois <pierre.gondois at arm.com>
> ---
>  EmbeddedPkg/GdbStub/SerialIo.c                                  | 2 +-
>  EmbeddedPkg/Include/Library/GdbSerialLib.h                      | 2 +-
>  EmbeddedPkg/Include/Library/RealTimeClockLib.h                  | 2 +-
>  .../Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c       | 2 +-
>  EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c                 | 2 +-
>  EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c | 2 +-
>  .../Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c   | 2 +-
>  EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c             | 2 +-
>  8 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/EmbeddedPkg/GdbStub/SerialIo.c
> b/EmbeddedPkg/GdbStub/SerialIo.c index 9970ab687e4b..98ea611e8b04
> 100644
> --- a/EmbeddedPkg/GdbStub/SerialIo.c
> +++ b/EmbeddedPkg/GdbStub/SerialIo.c
> @@ -283,7 +283,7 @@ GdbSerialReset (
>    data buts, and stop bits on a serial device.
> 
>    @param  This             Protocol instance pointer.
> -  @param  BaudRate         The requested baud rate. A BaudRate value of 0 will
> use the the
> +  @param  BaudRate         The requested baud rate. A BaudRate value of 0
> will use the
>                             device's default interface speed.
>    @param  ReceiveFifoDepth The requested depth of the FIFO on the
> receive side of the
>                             serial interface. A ReceiveFifoDepth value of 0 will use diff --git
> a/EmbeddedPkg/Include/Library/GdbSerialLib.h
> b/EmbeddedPkg/Include/Library/GdbSerialLib.h
> index 4845d6018cfe..58c3a5643c92 100644
> --- a/EmbeddedPkg/Include/Library/GdbSerialLib.h
> +++ b/EmbeddedPkg/Include/Library/GdbSerialLib.h
> @@ -15,7 +15,7 @@
>    data buts, and stop bits on a serial device. This call is optional as the serial
>    port will be set up with defaults base on PCD values.
> 
> -  @param  BaudRate         The requested baud rate. A BaudRate value of 0 will
> use the the
> +  @param  BaudRate         The requested baud rate. A BaudRate value of 0
> will use the
>                             device's default interface speed.
>    @param  Parity           The type of parity to use on this serial device. A Parity
> value of
>                             DefaultParity will use the device's default parity value.
> diff --git a/EmbeddedPkg/Include/Library/RealTimeClockLib.h
> b/EmbeddedPkg/Include/Library/RealTimeClockLib.h
> index 9cc26c40a89d..ff45e26d6cfc 100644
> --- a/EmbeddedPkg/Include/Library/RealTimeClockLib.h
> +++ b/EmbeddedPkg/Include/Library/RealTimeClockLib.h
> @@ -39,7 +39,7 @@ LibGetTime (
> 
>    @retval EFI_SUCCESS           The operation completed successfully.
>    @retval EFI_INVALID_PARAMETER A time field is out of range.
> -  @retval EFI_DEVICE_ERROR      The time could not be set due due to
> hardware error.
> +  @retval EFI_DEVICE_ERROR      The time could not be set due to hardware
> error.
> 
>  **/
>  EFI_STATUS
> diff --git
> a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
> b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
> index d53a5fe47f18..334eb77607dd 100644
> ---
> a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
> +++
> b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
> @@ -51,7 +51,7 @@ GdbSerialLibDebugPortConstructor (
>    data buts, and stop bits on a serial device. This call is optional as the serial
>    port will be set up with defaults base on PCD values.
> 
> -  @param  BaudRate         The requested baud rate. A BaudRate value of 0 will
> use the the
> +  @param  BaudRate         The requested baud rate. A BaudRate value of 0
> will use the
>                             device's default interface speed.
>    @param  Parity           The type of parity to use on this serial device. A Parity
> value of
>                             DefaultParity will use the device's default parity value.
> diff --git a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
> b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
> index 75e00773ec7d..dea05c344042 100644
> --- a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
> +++ b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
> @@ -78,7 +78,7 @@ GdbSerialLibConstructor (
>    data buts, and stop bits on a serial device. This call is optional as the serial
>    port will be set up with defaults base on PCD values.
> 
> -  @param  BaudRate         The requested baud rate. A BaudRate value of 0 will
> use the the
> +  @param  BaudRate         The requested baud rate. A BaudRate value of 0
> will use the
>                             device's default interface speed.
>    @param  Parity           The type of parity to use on this serial device. A Parity
> value of
>                             DefaultParity will use the device's default parity value.
> diff --git
> a/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c
> b/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c
> index 7e8aaf28f6c9..cb5025914e3f 100644
> --- a/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c
> +++ b/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c
> @@ -48,7 +48,7 @@ LibGetTime (
> 
>    @retval EFI_SUCCESS           The operation completed successfully.
>    @retval EFI_INVALID_PARAMETER A time field is out of range.
> -  @retval EFI_DEVICE_ERROR      The time could not be set due due to
> hardware error.
> +  @retval EFI_DEVICE_ERROR      The time could not be set due to hardware
> error.
> 
>  **/
>  EFI_STATUS
> diff --git
> a/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c
> b/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c
> index fe963a315ae7..685e590980ec 100644
> ---
> a/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c
> +++
> b/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLi
> +++ b.c
> @@ -233,7 +233,7 @@ LibGetTime (
> 
>     @retval EFI_SUCCESS           The operation completed successfully.
>     @retval EFI_INVALID_PARAMETER A time field is out of range.
> -   @retval EFI_DEVICE_ERROR      The time could not be set due due to
> hardware error.
> +   @retval EFI_DEVICE_ERROR      The time could not be set due to hardware
> error.
> 
>  **/
>  EFI_STATUS
> diff --git a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c
> b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c
> index 308e8cfca4bb..7adb7324057e 100644
> --- a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c
> +++ b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c
> @@ -74,7 +74,7 @@ GetTime (
> 
>    @retval EFI_SUCCESS           The operation completed successfully.
>    @retval EFI_INVALID_PARAMETER A time field is out of range.
> -  @retval EFI_DEVICE_ERROR      The time could not be set due due to
> hardware error.
> +  @retval EFI_DEVICE_ERROR      The time could not be set due to hardware
> error.
> 
>  **/
>  EFI_STATUS
> --
> 2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#92756): https://edk2.groups.io/g/devel/message/92756
Mute This Topic: https://groups.io/mt/93207391/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list