[PATCH] [TRIVIAL] Fixing occurrences of "the the "

Previous thread: SLUB: The unqueued Slab allocator by Christoph Lameter on Thursday, February 22, 2007 - 3:00 am. (19 messages)

Next thread: [PATCH] Fix "deprecated" typoes. by Robert P. J. Day on Thursday, February 22, 2007 - 5:39 am. (2 messages)
To: <trivial@...>, <linux-kernel@...>
Date: Thursday, February 22, 2007 - 4:27 am

Hello,

I found a "the the" typo in a header file, and then found out that there were many of them!
Here's a patch correcting all these typos.

By the way, this is also a way of making kernel sources smaller (by almost 1K).

The patch can also be found on http://free-electrons.com/pub/patches/linux/2.6.20/patch-2.6.20-the-the

Cheers,

Michael

Signed-off-by: Michael Opdenacker <michael@free-electrons.com>

diff -Nurp linux-2.6.20/arch/mips/Makefile linux-2.6.20-the-the/arch/mips/Makefile
--- linux-2.6.20/arch/mips/Makefile 2007-02-04 19:44:54.000000000 +0100
+++ linux-2.6.20-the-the/arch/mips/Makefile 2007-02-22 08:13:27.000000000 +0100
@@ -92,7 +92,7 @@ cflags-y += -ffreestanding
# when fed the toolchain default!
#
# Certain gcc versions upto gcc 4.1.1 (probably 4.2-subversion as of
-# 2006-10-10 don't properly change the the predefined symbols if -EB / -EL
+# 2006-10-10 don't properly change the predefined symbols if -EB / -EL
# are used, so we kludge that here. A bug has been filed at
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29413.
#
diff -Nurp linux-2.6.20/arch/mips/pci/fixup-sb1250.c linux-2.6.20-the-the/arch/mips/pci/fixup-sb1250.c
--- linux-2.6.20/arch/mips/pci/fixup-sb1250.c 2007-02-04 19:44:54.000000000 +0100
+++ linux-2.6.20-the-the/arch/mips/pci/fixup-sb1250.c 2007-02-22 08:13:13.000000000 +0100
@@ -14,7 +14,7 @@
#include <linux/pci.h>

/*
- * Set the the BCM1250, etc. PCI host bridge's TRDY timeout
+ * Set the BCM1250, etc. PCI host bridge's TRDY timeout
* to the finite max.
*/
static void __init quirk_sb1250_pci(struct pci_dev *dev)
@@ -35,7 +35,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SI
quirk_sb1250_ht);

/*
- * Set the the SP1011 HT/PCI bridge's TRDY timeout to the finite max.
+ * Set the SP1011 HT/PCI bridge's TRDY timeout to the finite max.
*/
static void __init quirk_sp1011(struct pci_dev *dev)
{
diff -Nurp linux-2.6.20/arch/powerpc/platforms/cell/io-workarounds.c linux-2.6.20-the-the/arch/powerpc/plat...

To: Michael Opdenacker <michael-lists@...>
Cc: <trivial@...>, <linux-kernel@...>
Date: Thursday, February 22, 2007 - 5:26 am

On Thu, 22 Feb 2007 09:27:28 +0100

shouldn't this be "Note that the"? (and so on)

IOW: some of these are typos.

Some time ago I've done a similar patch for "Documentation/" (remove
duplicated words) and fallen in the same mistake :)

--
Paolo Ornati
Linux 2.6.20 on x86_64
-

To: Paolo Ornati <ornati@...>
Cc: <trivial@...>, <linux-kernel@...>
Date: Thursday, February 22, 2007 - 9:23 am

Ciao Paolo,

You're definitely right... Some more attention to the meaning of each sentence was needed.
I found several mistakes of this kind.

Michael.

Signed-off-by: Michael Opdenacker <michael@free-electrons.com>

diff -Nurp linux-2.6.20/arch/mips/Makefile linux-2.6.20-the-the/arch/mips/Makefile
--- linux-2.6.20/arch/mips/Makefile 2007-02-04 19:44:54.000000000 +0100
+++ linux-2.6.20-the-the/arch/mips/Makefile 2007-02-22 08:13:27.000000000 +0100
@@ -92,7 +92,7 @@ cflags-y += -ffreestanding
# when fed the toolchain default!
#
# Certain gcc versions upto gcc 4.1.1 (probably 4.2-subversion as of
-# 2006-10-10 don't properly change the the predefined symbols if -EB / -EL
+# 2006-10-10 don't properly change the predefined symbols if -EB / -EL
# are used, so we kludge that here. A bug has been filed at
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29413.
#
diff -Nurp linux-2.6.20/arch/mips/pci/fixup-sb1250.c linux-2.6.20-the-the/arch/mips/pci/fixup-sb1250.c
--- linux-2.6.20/arch/mips/pci/fixup-sb1250.c 2007-02-04 19:44:54.000000000 +0100
+++ linux-2.6.20-the-the/arch/mips/pci/fixup-sb1250.c 2007-02-22 08:13:13.000000000 +0100
@@ -14,7 +14,7 @@
#include <linux/pci.h>

/*
- * Set the the BCM1250, etc. PCI host bridge's TRDY timeout
+ * Set the BCM1250, etc. PCI host bridge's TRDY timeout
* to the finite max.
*/
static void __init quirk_sb1250_pci(struct pci_dev *dev)
@@ -35,7 +35,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SI
quirk_sb1250_ht);

/*
- * Set the the SP1011 HT/PCI bridge's TRDY timeout to the finite max.
+ * Set the SP1011 HT/PCI bridge's TRDY timeout to the finite max.
*/
static void __init quirk_sp1011(struct pci_dev *dev)
{
diff -Nurp linux-2.6.20/arch/powerpc/platforms/cell/io-workarounds.c linux-2.6.20-the-the/arch/powerpc/platforms/cell/io-workarounds.c
--- linux-2.6.20/arch/powerpc/platforms/cell/io-workarounds.c 2007-02-04 19:44:54.000000000 +0100
+++ linux-2.6.20-the-the/arch/powerpc/platforms/cell/io-workarounds...

Previous thread: SLUB: The unqueued Slab allocator by Christoph Lameter on Thursday, February 22, 2007 - 3:00 am. (19 messages)

Next thread: [PATCH] Fix "deprecated" typoes. by Robert P. J. Day on Thursday, February 22, 2007 - 5:39 am. (2 messages)