From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMIjD-0007qR-Ef for qemu-devel@nongnu.org; Mon, 03 Aug 2015 12:36:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMIj9-00031N-1I for qemu-devel@nongnu.org; Mon, 03 Aug 2015 12:36:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMIj8-00030k-QC for qemu-devel@nongnu.org; Mon, 03 Aug 2015 12:36:38 -0400 References: <1438360263-25445-1-git-send-email-berrange@redhat.com> <1438360263-25445-4-git-send-email-berrange@redhat.com> From: Max Reitz Message-ID: <55BF9264.7090706@redhat.com> Date: Mon, 3 Aug 2015 18:10:12 +0200 MIME-Version: 1.0 In-Reply-To: <1438360263-25445-4-git-send-email-berrange@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC 03/10] maint: remove / fix many doubled words List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: Peter Maydell 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 > --- > 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