public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: edk2-devel@ml01.01.org
Cc: Jordan Justen <jordan.l.justen@intel.com>,
	Laszlo Ersek <lersek@redhat.com>
Subject: [PATCH] OvmfPkg: Fix typing errors in header files
Date: Tue, 13 Sep 2016 10:33:20 +0200	[thread overview]
Message-ID: <1473755600-16013-1-git-send-email-thuth@redhat.com> (raw)

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



             reply	other threads:[~2016-09-13  8:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-13  8:33 Thomas Huth [this message]
2016-09-13 12:20 ` [PATCH] OvmfPkg: Fix typing errors in header files Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1473755600-16013-1-git-send-email-thuth@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox