dcavalca / rpms / qemu

Forked from rpms/qemu a year ago
Clone

Blame 0181-Spelling-fixes-in-comments-and-documentation.patch

5544c1
From ca94ceccca88d284e5d638961b21bd83eac944db Mon Sep 17 00:00:00 2001
5544c1
From: Stefan Weil <sw@weilnetz.de>
5544c1
Date: Fri, 10 Aug 2012 22:03:25 +0200
5544c1
Subject: [PATCH] Spelling fixes in comments and documentation
5544c1
5544c1
These wrong spellings were detected by codespell:
5544c1
5544c1
* successully -> successfully
5544c1
5544c1
* alot -> a lot
5544c1
5544c1
* wanna -> want to
5544c1
5544c1
* infomation -> information
5544c1
5544c1
* occured -> occurred
5544c1
5544c1
["also is" -> "is also" and "ressources" -> "resources" suggested by
5544c1
Peter Maydell <peter.maydell@linaro.org>]
5544c1
5544c1
Signed-off-by: Stefan Weil <sw@weilnetz.de>
5544c1
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
5544c1
(cherry picked from commit 0546b8c2f089867cd7606ff47e026e8931157828)
5544c1
5544c1
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
5544c1
---
5544c1
 docs/specs/ppc-spapr-hcalls.txt |  2 +-
5544c1
 docs/usb2.txt                   |  4 ++--
5544c1
 hw/xen_pt.h                     |  4 ++--
5544c1
 hw/xen_pt_config_init.c         | 14 +++++++-------
5544c1
 qemu-img.c                      |  2 +-
5544c1
 qemu-img.texi                   |  2 +-
5544c1
 6 files changed, 14 insertions(+), 14 deletions(-)
5544c1
5544c1
diff --git a/docs/specs/ppc-spapr-hcalls.txt b/docs/specs/ppc-spapr-hcalls.txt
5544c1
index 52ba8d4..667b3fa 100644
5544c1
--- a/docs/specs/ppc-spapr-hcalls.txt
5544c1
+++ b/docs/specs/ppc-spapr-hcalls.txt
5544c1
@@ -31,7 +31,7 @@ Arguments:
5544c1
 
5544c1
 Returns:
5544c1
 
5544c1
-  H_SUCCESS   : Successully called the RTAS function (RTAS result
5544c1
+  H_SUCCESS   : Successfully called the RTAS function (RTAS result
5544c1
                 will have been stored in the parameter block)
5544c1
   H_PARAMETER : Unknown token
5544c1
 
5544c1
diff --git a/docs/usb2.txt b/docs/usb2.txt
5544c1
index d17e3c0..43dacde 100644
5544c1
--- a/docs/usb2.txt
5544c1
+++ b/docs/usb2.txt
5544c1
@@ -58,11 +58,11 @@ try ...
5544c1
 xhci controller support
5544c1
 -----------------------
5544c1
 
5544c1
-There also is xhci host controller support available.  It got alot
5544c1
+There is also xhci host controller support available.  It got a lot
5544c1
 less testing than ehci and there are a bunch of known limitations, so
5544c1
 ehci may work better for you.  On the other hand the xhci hardware
5544c1
 design is much more virtualization-friendly, thus xhci emulation uses
5544c1
-less ressources (especially cpu).  If you wanna give xhci a try
5544c1
+less resources (especially cpu).  If you want to give xhci a try
5544c1
 use this to add the host controller ...
5544c1
 
5544c1
     qemu -device nec-usb-xhci,id=xhci
5544c1
diff --git a/hw/xen_pt.h b/hw/xen_pt.h
5544c1
index 41904ec..112477a 100644
5544c1
--- a/hw/xen_pt.h
5544c1
+++ b/hw/xen_pt.h
5544c1
@@ -96,7 +96,7 @@ typedef struct XenPTRegion {
5544c1
  * - do NOT use ALL F for init_val, otherwise the tbl will not be registered.
5544c1
  */
5544c1
 
5544c1
-/* emulated register infomation */
5544c1
+/* emulated register information */
5544c1
 struct XenPTRegInfo {
5544c1
     uint32_t offset;
5544c1
     uint32_t size;
5544c1
@@ -140,7 +140,7 @@ typedef int (*xen_pt_reg_size_init_fn)
5544c1
     (XenPCIPassthroughState *, const XenPTRegGroupInfo *,
5544c1
      uint32_t base_offset, uint8_t *size);
5544c1
 
5544c1
-/* emulated register group infomation */
5544c1
+/* emulated register group information */
5544c1
 struct XenPTRegGroupInfo {
5544c1
     uint8_t grp_id;
5544c1
     XenPTRegisterGroupType grp_type;
5544c1
diff --git a/hw/xen_pt_config_init.c b/hw/xen_pt_config_init.c
5544c1
index 00eb3d9..e524a40 100644
5544c1
--- a/hw/xen_pt_config_init.c
5544c1
+++ b/hw/xen_pt_config_init.c
5544c1
@@ -562,7 +562,7 @@ static int xen_pt_exp_rom_bar_reg_write(XenPCIPassthroughState *s,
5544c1
     return 0;
5544c1
 }
5544c1
 
5544c1
-/* Header Type0 reg static infomation table */
5544c1
+/* Header Type0 reg static information table */
5544c1
 static XenPTRegInfo xen_pt_emu_reg_header0[] = {
5544c1
     /* Vendor ID reg */
5544c1
     {
5544c1
@@ -753,7 +753,7 @@ static XenPTRegInfo xen_pt_emu_reg_header0[] = {
5544c1
  * Vital Product Data Capability
5544c1
  */
5544c1
 
5544c1
-/* Vital Product Data Capability Structure reg static infomation table */
5544c1
+/* Vital Product Data Capability Structure reg static information table */
5544c1
 static XenPTRegInfo xen_pt_emu_reg_vpd[] = {
5544c1
     {
5544c1
         .offset     = PCI_CAP_LIST_NEXT,
5544c1
@@ -775,7 +775,7 @@ static XenPTRegInfo xen_pt_emu_reg_vpd[] = {
5544c1
  * Vendor Specific Capability
5544c1
  */
5544c1
 
5544c1
-/* Vendor Specific Capability Structure reg static infomation table */
5544c1
+/* Vendor Specific Capability Structure reg static information table */
5544c1
 static XenPTRegInfo xen_pt_emu_reg_vendor[] = {
5544c1
     {
5544c1
         .offset     = PCI_CAP_LIST_NEXT,
5544c1
@@ -866,7 +866,7 @@ static int xen_pt_linkctrl2_reg_init(XenPCIPassthroughState *s,
5544c1
     return 0;
5544c1
 }
5544c1
 
5544c1
-/* PCI Express Capability Structure reg static infomation table */
5544c1
+/* PCI Express Capability Structure reg static information table */
5544c1
 static XenPTRegInfo xen_pt_emu_reg_pcie[] = {
5544c1
     /* Next Pointer reg */
5544c1
     {
5544c1
@@ -981,7 +981,7 @@ static int xen_pt_pmcsr_reg_write(XenPCIPassthroughState *s,
5544c1
     return 0;
5544c1
 }
5544c1
 
5544c1
-/* Power Management Capability reg static infomation table */
5544c1
+/* Power Management Capability reg static information table */
5544c1
 static XenPTRegInfo xen_pt_emu_reg_pm[] = {
5544c1
     /* Next Pointer reg */
5544c1
     {
5544c1
@@ -1259,7 +1259,7 @@ static int xen_pt_msgdata_reg_write(XenPCIPassthroughState *s,
5544c1
     return 0;
5544c1
 }
5544c1
 
5544c1
-/* MSI Capability Structure reg static infomation table */
5544c1
+/* MSI Capability Structure reg static information table */
5544c1
 static XenPTRegInfo xen_pt_emu_reg_msi[] = {
5544c1
     /* Next Pointer reg */
5544c1
     {
5544c1
@@ -1396,7 +1396,7 @@ static int xen_pt_msixctrl_reg_write(XenPCIPassthroughState *s,
5544c1
     return 0;
5544c1
 }
5544c1
 
5544c1
-/* MSI-X Capability Structure reg static infomation table */
5544c1
+/* MSI-X Capability Structure reg static information table */
5544c1
 static XenPTRegInfo xen_pt_emu_reg_msix[] = {
5544c1
     /* Next Pointer reg */
5544c1
     {
5544c1
diff --git a/qemu-img.c b/qemu-img.c
5544c1
index 0d208e8..7615e91 100644
5544c1
--- a/qemu-img.c
5544c1
+++ b/qemu-img.c
5544c1
@@ -89,7 +89,7 @@ static void help(void)
5544c1
            "  '-r' tries to repair any inconsistencies that are found during the check.\n"
5544c1
            "       '-r leaks' repairs only cluster leaks, whereas '-r all' fixes all\n"
5544c1
            "       kinds of errors, with a higher risk of choosing the wrong fix or\n"
5544c1
-           "       hiding corruption that has already occured.\n"
5544c1
+           "       hiding corruption that has already occurred.\n"
5544c1
            "\n"
5544c1
            "Parameters to snapshot subcommand:\n"
5544c1
            "  'snapshot' is the name of the snapshot to create, apply or delete\n"
5544c1
diff --git a/qemu-img.texi b/qemu-img.texi
5544c1
index 6b42e35..360543b 100644
5544c1
--- a/qemu-img.texi
5544c1
+++ b/qemu-img.texi
5544c1
@@ -87,7 +87,7 @@ Perform a consistency check on the disk image @var{filename}.
5544c1
 If @code{-r} is specified, qemu-img tries to repair any inconsistencies found
5544c1
 during the check. @code{-r leaks} repairs only cluster leaks, whereas
5544c1
 @code{-r all} fixes all kinds of errors, with a higher risk of choosing the
5544c1
-wrong fix or hiding corruption that has already occured.
5544c1
+wrong fix or hiding corruption that has already occurred.
5544c1
 
5544c1
 Only the formats @code{qcow2}, @code{qed} and @code{vdi} support
5544c1
 consistency checks.
5544c1
-- 
5544c1
1.7.12.1
5544c1