OvmfPkg/Virtio: Fix few typos

Fix few typos in comments and documentation.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-59-philmd@redhat.com>
This commit is contained in:
Antoine Coeur 2020-02-07 02:08:11 +01:00 committed by mergify[bot]
parent a2e7559576
commit 9854561c08
6 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.
**/

View File

@ -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

View File

@ -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,

View File

@ -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.
//