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...
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
-
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...
| Greg KH | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Greg KH | [patch 26/73] NET: Correct two mistaken skb_reset_mac_header() conversions. |
| Greg Kroah-Hartman | [PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt |
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Alexey Dobriyan | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
