On 12/03/19 17:15, Philippe Mathieu-Daude wrote:
> From: Antoine Coeur <co...@gmx.fr>
> 
> Fix few typos in comments and documentation.
> 
> Cc: Jordan Justen <jordan.l.jus...@intel.com>
> Cc: Laszlo Ersek <ler...@redhat.com>
> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org>
> Reviewed-by: Philippe Mathieu-Daude <phi...@redhat.com>
> Signed-off-by: Philippe Mathieu-Daude <phi...@redhat.com>
> ---
>  OvmfPkg/Include/Library/VirtioLib.h     | 2 +-
>  OvmfPkg/Library/VirtioLib/VirtioLib.c   | 2 +-
>  OvmfPkg/VirtioNetDxe/DriverBinding.c    | 2 +-
>  OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c | 2 +-
>  OvmfPkg/VirtioRngDxe/VirtioRng.c        | 2 +-
>  OvmfPkg/VirtioScsiDxe/VirtioScsi.c      | 2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/OvmfPkg/Include/Library/VirtioLib.h 
> b/OvmfPkg/Include/Library/VirtioLib.h
> index e817a4206f62..e714ec7aee50 100644
> --- a/OvmfPkg/Include/Library/VirtioLib.h
> +++ b/OvmfPkg/Include/Library/VirtioLib.h
> @@ -292,7 +292,7 @@ Virtio10WriteFeatures (
>                                    VIRTIO_UNMAP_SHARED.
>  
>  
> -  @retval EFI_SUCCESS             The NumberOfBytes is succesfully mapped.
> +  @retval EFI_SUCCESS             The NumberOfBytes is successfully mapped.
>    @retval EFI_UNSUPPORTED         The HostAddress cannot be mapped as a
>                                    common buffer.
>    @retval EFI_INVALID_PARAMETER   One or more parameters are invalid.
> diff --git a/OvmfPkg/Library/VirtioLib/VirtioLib.c 
> b/OvmfPkg/Library/VirtioLib/VirtioLib.c
> index 555d2a5ce7c9..e09324813c2d 100644
> --- a/OvmfPkg/Library/VirtioLib/VirtioLib.c
> +++ b/OvmfPkg/Library/VirtioLib/VirtioLib.c
> @@ -452,7 +452,7 @@ Virtio10WriteFeatures (
>                                    VIRTIO_UNMAP_SHARED.
>  
>  
> -  @retval EFI_SUCCESS             The NumberOfBytes is succesfully mapped.
> +  @retval EFI_SUCCESS             The NumberOfBytes is successfully mapped.
>    @retval EFI_UNSUPPORTED         The HostAddress cannot be mapped as a
>                                    common buffer.
>    @retval EFI_INVALID_PARAMETER   One or more parameters are invalid.
> diff --git a/OvmfPkg/VirtioNetDxe/DriverBinding.c 
> b/OvmfPkg/VirtioNetDxe/DriverBinding.c
> index eb0e873657a4..3c400a604650 100644
> --- a/OvmfPkg/VirtioNetDxe/DriverBinding.c
> +++ b/OvmfPkg/VirtioNetDxe/DriverBinding.c
> @@ -419,7 +419,7 @@ VirtioNetDriverBindingSupported (
>                                     device error.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.
>  
>  **/
>  
> diff --git a/OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c 
> b/OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c
> index dc684650d665..d1e3ecfa5a0f 100644
> --- a/OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c
> +++ b/OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c
> @@ -118,7 +118,7 @@ VirtioNetUninitRing (
>                                    a lack of resources.
>    @return                         Status codes from
>                                    VirtioMapAllBytesInSharedBuffer()
> -  @retval EFI_SUCCESS             Caller-supplied buffer is succesfully 
> mapped.
> +  @retval EFI_SUCCESS             Caller-supplied buffer is successfully 
> mapped.
>  */
>  EFI_STATUS
>  EFIAPI
> diff --git a/OvmfPkg/VirtioRngDxe/VirtioRng.c 
> b/OvmfPkg/VirtioRngDxe/VirtioRng.c
> index d0e2468c2373..4e2b710f9e49 100644
> --- a/OvmfPkg/VirtioRngDxe/VirtioRng.c
> +++ b/OvmfPkg/VirtioRngDxe/VirtioRng.c
> @@ -156,7 +156,7 @@ VirtioRngGetRNG (
>  
>    Dev = VIRTIO_ENTROPY_SOURCE_FROM_RNG (This);
>    //
> -  // Map Buffer's system phyiscal address to device address
> +  // Map Buffer's system physical address to device address
>    //
>    Status = VirtioMapAllBytesInSharedBuffer (
>               Dev->VirtIo,
> diff --git a/OvmfPkg/VirtioScsiDxe/VirtioScsi.c 
> b/OvmfPkg/VirtioScsiDxe/VirtioScsi.c
> index e50a697daa15..935d15439579 100644
> --- a/OvmfPkg/VirtioScsiDxe/VirtioScsi.c
> +++ b/OvmfPkg/VirtioScsiDxe/VirtioScsi.c
> @@ -497,7 +497,7 @@ VirtioScsiPassThru (
>      //  * we perform the request fine
>      //  * but we fail to unmap the "InDataMapping"
>      //
> -    // In that case simply returing the EFI_DEVICE_ERROR is not sufficient. 
> In
> +    // In that case simply returning the EFI_DEVICE_ERROR is not sufficient. 
> In
>      // addition to the error code we also need to update Packet fields
>      // accordingly so that we report the full loss of the incoming transfer.
>      //
> 

Reviewed-by: Laszlo Ersek <ler...@redhat.com>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51665): https://edk2.groups.io/g/devel/message/51665
Mute This Topic: https://groups.io/mt/65941421/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to