public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] OvmfPkg: Fix typing errors in header files
@ 2016-09-13  8:33 Thomas Huth
  2016-09-13 12:20 ` Laszlo Ersek
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2016-09-13  8:33 UTC (permalink / raw)
  To: edk2-devel; +Cc: Jordan Justen, Laszlo Ersek

Correct some typos in the header files of the OvmfPkg
(which have been discovered with the codespell utility).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 Sorry, in my previous patch, I only scanned the *.c files
 and forgot to include the *.h files, too. So here's a
 another patch for the header files...

 OvmfPkg/Include/IndustryStandard/LinuxBzimage.h | 2 +-
 OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h | 2 +-
 OvmfPkg/Include/Library/LoadLinuxLib.h          | 2 +-
 OvmfPkg/Include/Protocol/XenBus.h               | 6 +++---
 OvmfPkg/VirtioScsiDxe/VirtioScsi.h              | 2 +-
 OvmfPkg/XenBusDxe/GrantTable.h                  | 2 +-
 OvmfPkg/XenBusDxe/XenStore.h                    | 2 +-
 7 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/OvmfPkg/Include/IndustryStandard/LinuxBzimage.h b/OvmfPkg/Include/IndustryStandard/LinuxBzimage.h
index b83b791..a6d8999 100644
--- a/OvmfPkg/Include/IndustryStandard/LinuxBzimage.h
+++ b/OvmfPkg/Include/IndustryStandard/LinuxBzimage.h
@@ -45,7 +45,7 @@ struct setup_header {
 	UINT16 movesize;
 	UINT32 code32_start;	/* Start of code loaded high */
 	UINT32 ramdisk_start;	/* Start of initial ramdisk */
-	UINT32 ramdisk_len;	/* Lenght of initial ramdisk */
+	UINT32 ramdisk_len;	/* Length of initial ramdisk */
 	UINT32 bootsect_kludge;
 	UINT16 heap_end;
 	UINT8 ext_loader_ver;  /* Extended boot loader version */
diff --git a/OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h b/OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h
index ebed579..27774d6 100644
--- a/OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h
+++ b/OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h
@@ -59,7 +59,7 @@
  * All data in the XenStore is stored as strings.  Nodes specifying numeric
  * values are encoded in decimal.  Integer value ranges listed below are
  * expressed as fixed sized integer types capable of storing the conversion
- * of a properly formated node string, without loss of information.
+ * of a properly formatted node string, without loss of information.
  *
  * Any specified default value is in effect if the corresponding XenBus node
  * is not present in the XenStore.
diff --git a/OvmfPkg/Include/Library/LoadLinuxLib.h b/OvmfPkg/Include/Library/LoadLinuxLib.h
index 36ee352..d332499 100644
--- a/OvmfPkg/Include/Library/LoadLinuxLib.h
+++ b/OvmfPkg/Include/Library/LoadLinuxLib.h
@@ -44,7 +44,7 @@ LoadLinuxCheckKernelSetup (
   @param[in]     KernelSetup - The kernel setup image
   @param[in]     KernelSize - The kernel size on disk.
 
-  @retval    0                An error occured
+  @retval    0                An error occurred
   @retval    !0               The initial size required by the kernel to
                               begin execution.
 
diff --git a/OvmfPkg/Include/Protocol/XenBus.h b/OvmfPkg/Include/Protocol/XenBus.h
index 3509691..f5b1cbc 100644
--- a/OvmfPkg/Include/Protocol/XenBus.h
+++ b/OvmfPkg/Include/Protocol/XenBus.h
@@ -224,7 +224,7 @@ XENSTORE_STATUS
   @param DomainId   ID of the domain to grant acces to.
   @param Frame      Frame Number of the page to grant access to.
   @param ReadOnly   Provide read-only or read-write access.
-  @param RefPtr     Reference number of the grant will be writen to this pointer.
+  @param RefPtr     Reference number of the grant will be written to this pointer.
 **/
 typedef
 EFI_STATUS
@@ -310,7 +310,7 @@ UINT32
 
   @return  On success, XENSTORE_STATUS_SUCCESS. Otherwise an errno value
            indicating the type of write failure.  EEXIST errors from the
-           XenStore are supressed, allowing multiple, physically different,
+           XenStore are suppressed, allowing multiple, physically different,
            xenbus_watch objects, to watch the same path in the XenStore.
 **/
 typedef
@@ -333,7 +333,7 @@ XENSTORE_STATUS
 
   @return  On success, XENSTORE_STATUS_SUCCESS. Otherwise an errno value
            indicating the type of write failure.  EEXIST errors from the
-           XenStore are supressed, allowing multiple, physically different,
+           XenStore are suppressed, allowing multiple, physically different,
            xenbus_watch objects, to watch the same path in the XenStore.
 **/
 typedef
diff --git a/OvmfPkg/VirtioScsiDxe/VirtioScsi.h b/OvmfPkg/VirtioScsiDxe/VirtioScsi.h
index 80840d3..6d00567 100644
--- a/OvmfPkg/VirtioScsiDxe/VirtioScsi.h
+++ b/OvmfPkg/VirtioScsiDxe/VirtioScsi.h
@@ -32,7 +32,7 @@
 // identification, and 8 bytes for LUN identification.
 //
 // EFI_EXT_SCSI_PASS_THRU_MODE.AdapterId is also a target identifier,
-// consisting of 4 bytes. Make sure TARGET_MAX_BYTES can accomodate both
+// consisting of 4 bytes. Make sure TARGET_MAX_BYTES can accommodate both
 // AdapterId and our target identifiers.
 //
 #if TARGET_MAX_BYTES < 4
diff --git a/OvmfPkg/XenBusDxe/GrantTable.h b/OvmfPkg/XenBusDxe/GrantTable.h
index 194275b..28195b6 100644
--- a/OvmfPkg/XenBusDxe/GrantTable.h
+++ b/OvmfPkg/XenBusDxe/GrantTable.h
@@ -47,7 +47,7 @@ XenGrantTableDeinit (
   @param DomainId   ID of the domain to grant acces to.
   @param Frame      Frame Number of the page to grant access to.
   @param ReadOnly   Provide read-only or read-write access.
-  @param RefPtr     Reference number of the grant will be writen to this pointer.
+  @param RefPtr     Reference number of the grant will be written to this pointer.
 **/
 EFI_STATUS
 EFIAPI
diff --git a/OvmfPkg/XenBusDxe/XenStore.h b/OvmfPkg/XenBusDxe/XenStore.h
index de56901..c9d4c65 100644
--- a/OvmfPkg/XenBusDxe/XenStore.h
+++ b/OvmfPkg/XenBusDxe/XenStore.h
@@ -229,7 +229,7 @@ XenStoreVSPrint (
 
   @return  On success, XENSTORE_STATUS_SUCCESS. Otherwise an errno value
            indicating the type of write failure.  EEXIST errors from the
-           XenStore are supressed, allowing multiple, physically different,
+           XenStore are suppressed, allowing multiple, physically different,
            xenbus_watch objects, to watch the same path in the XenStore.
 **/
 XENSTORE_STATUS
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-13 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-13  8:33 [PATCH] OvmfPkg: Fix typing errors in header files Thomas Huth
2016-09-13 12:20 ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox