From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BA9CD1A1E30 for ; Tue, 13 Sep 2016 01:33:23 -0700 (PDT) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 19F028553C; Tue, 13 Sep 2016 08:33:23 +0000 (UTC) Received: from thh440s.redhat.com (ovpn-116-35.ams2.redhat.com [10.36.116.35]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u8D8XL1O024497; Tue, 13 Sep 2016 04:33:21 -0400 From: Thomas Huth To: edk2-devel@ml01.01.org Cc: Jordan Justen , Laszlo Ersek Date: Tue, 13 Sep 2016 10:33:20 +0200 Message-Id: <1473755600-16013-1-git-send-email-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 13 Sep 2016 08:33:23 +0000 (UTC) Subject: [PATCH] OvmfPkg: Fix typing errors in header files X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 08:33:24 -0000 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 --- 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