From b6b33f67dfc6e81dbbdd10c102f2665e7472cd4d Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Tue, 13 Sep 2016 10:33:20 +0200 Subject: [PATCH] OvmfPkg: Fix typing errors in header files 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 Reviewed-by: Laszlo Ersek --- 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 b83b7916a0..a6d8999730 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 ebed5799bc..27774d6285 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 36ee352e5e..d33249903c 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 3509691e03..f5b1cbc44b 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 80840d353e..6d00567e8c 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 194275ba7e..28195b6e59 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 de5690119e..c9d4c6509a 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 -- 2.39.2