qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH RFC 03/10] maint: remove / fix many doubled word


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH RFC 03/10] maint: remove / fix many doubled words
Date: Mon, 3 Aug 2015 18:10:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

On 31.07.2015 18:30, Daniel P. Berrange wrote:
Many source files have doubled words (eg "the the", "to to",
and so on). Most of these can simply be removed, but a couple
were actual mis-spellings (eg "to to" instead of "to do").
There was even one triple word score "to to to" :-)

Signed-off-by: Daniel P. Berrange <address@hidden>
---
  block/qcow2-cluster.c         | 4 ++--
  block/qcow2-refcount.c        | 2 +-
  cfg.mk                        | 4 +++-
  docs/libcacard.txt            | 4 ++--
  docs/multiseat.txt            | 2 +-
  docs/specs/qcow2.txt          | 2 +-
  docs/specs/rocker.txt         | 2 +-
  hw/net/rtl8139.c              | 2 +-
  hw/usb/host-libusb.c          | 2 +-
  hw/vfio/common.c              | 2 +-
  include/block/block.h         | 2 +-
  include/exec/memory.h         | 2 +-
  linux-user/elfload.c          | 2 +-
  migration/rdma.c              | 2 +-
  qemu-doc.texi                 | 2 +-
  qemu-img.texi                 | 2 +-
  qemu-options.hx               | 2 +-
  target-arm/cpu.h              | 4 ++--
  target-arm/helper.c           | 2 +-
  target-arm/translate.c        | 2 +-
  target-lm32/helper.c          | 2 +-
  target-microblaze/translate.c | 2 +-
  target-moxie/helper.c         | 2 +-
  util/bitmap.c                 | 2 +-
  24 files changed, 29 insertions(+), 27 deletions(-)

diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c
index b43f186..a7337e6 100644
--- a/block/qcow2-cluster.c
+++ b/block/qcow2-cluster.c
@@ -498,7 +498,7 @@ int qcow2_get_cluster_offset(BlockDriverState *bs, uint64_t 
offset,

      *cluster_offset = 0;

-    /* seek the the l2 offset in the l1 table */
+    /* seek the l2 offset in the l1 table */

      l1_index = offset >> l1_bits;
      if (l1_index >= s->l1_size) {
@@ -612,7 +612,7 @@ static int get_cluster_table(BlockDriverState *bs, uint64_t 
offset,
      uint64_t *l2_table = NULL;
      int ret;

-    /* seek the the l2 offset in the l1 table */
+    /* seek the l2 offset in the l1 table */

      l1_index = offset >> (s->l2_bits + s->cluster_bits);
      if (l1_index >= s->l1_size) {
diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c
index b0ee42d..2fd915f 100644
--- a/block/qcow2-refcount.c
+++ b/block/qcow2-refcount.c
@@ -1294,7 +1294,7 @@ static int realloc_refcount_array(BDRVQcowState *s, void 
**array,
  /*
   * Increases the refcount for a range of clusters in a given refcount table.
   * This is used to construct a temporary refcount table out of L1 and L2 
tables
- * which can be compared the the refcount table saved in the image.
+ * which can be compared the refcount table saved in the image.
   *
   * Modifies the number of errors in res.
   */

I think all of the three hunks above should actually replace the first "the" with a "to" instead of removing it.

Max



reply via email to

[Prev in Thread] Current Thread [Next in Thread]