summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:08:11 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit9854561c085df43139625aa275dd67144c75e432 (patch)
tree2ae20489e4395bc237184c02b8302d3752052ae7
parenta2e75595766b370bf12207b716f9fbf1b5895445 (diff)
downloadedk2-9854561c085df43139625aa275dd67144c75e432.tar.gz
edk2-9854561c085df43139625aa275dd67144c75e432.tar.bz2
edk2-9854561c085df43139625aa275dd67144c75e432.zip
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>
-rw-r--r--OvmfPkg/Include/Library/VirtioLib.h2
-rw-r--r--OvmfPkg/Library/VirtioLib/VirtioLib.c2
-rw-r--r--OvmfPkg/VirtioNetDxe/DriverBinding.c2
-rw-r--r--OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c2
-rw-r--r--OvmfPkg/VirtioRngDxe/VirtioRng.c2
-rw-r--r--OvmfPkg/VirtioScsiDxe/VirtioScsi.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/OvmfPkg/Include/Library/VirtioLib.h b/OvmfPkg/Include/Library/VirtioLib.h
index e817a4206f..e714ec7aee 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 555d2a5ce7..e09324813c 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 eb0e873657..3c400a6046 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 dc684650d6..d1e3ecfa5a 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 d0e2468c23..4e2b710f9e 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 e50a697daa..935d154395 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.
//