]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/Virtio: Fix few typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:08:11 +0000 (02:08 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
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>

OvmfPkg/Include/Library/VirtioLib.h
OvmfPkg/Library/VirtioLib/VirtioLib.c
OvmfPkg/VirtioNetDxe/DriverBinding.c
OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c
OvmfPkg/VirtioRngDxe/VirtioRng.c
OvmfPkg/VirtioScsiDxe/VirtioScsi.c

index e817a4206f6213dbb1d9a3228034718fcf5943d6..e714ec7aee500b3828e257afcf5321cdc9b7e124 100644 (file)
@@ -292,7 +292,7 @@ Virtio10WriteFeatures (
                                   VIRTIO_UNMAP_SHARED.\r
 \r
 \r
-  @retval EFI_SUCCESS             The NumberOfBytes is succesfully mapped.\r
+  @retval EFI_SUCCESS             The NumberOfBytes is successfully mapped.\r
   @retval EFI_UNSUPPORTED         The HostAddress cannot be mapped as a\r
                                   common buffer.\r
   @retval EFI_INVALID_PARAMETER   One or more parameters are invalid.\r
index 555d2a5ce7c9941493d55a613cd4058ca4c65809..e09324813c2df8ef83f9e2730d9a6bc1e733e1ed 100644 (file)
@@ -452,7 +452,7 @@ Virtio10WriteFeatures (
                                   VIRTIO_UNMAP_SHARED.\r
 \r
 \r
-  @retval EFI_SUCCESS             The NumberOfBytes is succesfully mapped.\r
+  @retval EFI_SUCCESS             The NumberOfBytes is successfully mapped.\r
   @retval EFI_UNSUPPORTED         The HostAddress cannot be mapped as a\r
                                   common buffer.\r
   @retval EFI_INVALID_PARAMETER   One or more parameters are invalid.\r
index eb0e873657a4b10021abbdcd77bd3f25c5ed1615..3c400a60465096fb6a110f9c7003cf42c6a746d3 100644 (file)
@@ -419,7 +419,7 @@ VirtioNetDriverBindingSupported (
                                    device error.Currently not implemented.\r
   @retval EFI_OUT_OF_RESOURCES     The request could not be completed due to a\r
                                    lack of resources.\r
-  @retval Others                   The driver failded to start the device.\r
+  @retval Others                   The driver failed to start the device.\r
 \r
 **/\r
 \r
index dc684650d665bec697b9c01e4a28ec7393eecf48..d1e3ecfa5a0f0fd8a1c0ac2a78f62183e16700c1 100644 (file)
@@ -118,7 +118,7 @@ VirtioNetUninitRing (
                                   a lack of resources.\r
   @return                         Status codes from\r
                                   VirtioMapAllBytesInSharedBuffer()\r
-  @retval EFI_SUCCESS             Caller-supplied buffer is succesfully mapped.\r
+  @retval EFI_SUCCESS             Caller-supplied buffer is successfully mapped.\r
 */\r
 EFI_STATUS\r
 EFIAPI\r
index d0e2468c23731e5f1400180323a38f43cf92537d..4e2b710f9e491207cdb796e6b540e9f08db2de16 100644 (file)
@@ -156,7 +156,7 @@ VirtioRngGetRNG (
 \r
   Dev = VIRTIO_ENTROPY_SOURCE_FROM_RNG (This);\r
   //\r
-  // Map Buffer's system phyiscal address to device address\r
+  // Map Buffer's system physical address to device address\r
   //\r
   Status = VirtioMapAllBytesInSharedBuffer (\r
              Dev->VirtIo,\r
index e50a697daa15baa27aebc1d9e4894a3d9d4547e0..935d15439579dbececfaac87875d3b70d46e2983 100644 (file)
@@ -497,7 +497,7 @@ VirtioScsiPassThru (
     //  * we perform the request fine\r
     //  * but we fail to unmap the "InDataMapping"\r
     //\r
-    // In that case simply returing the EFI_DEVICE_ERROR is not sufficient. In\r
+    // In that case simply returning the EFI_DEVICE_ERROR is not sufficient. In\r
     // addition to the error code we also need to update Packet fields\r
     // accordingly so that we report the full loss of the incoming transfer.\r
     //\r