* [Patch] Attack of "the the"s in /arch
@ 2006-06-29 4:06 Matt LaPlante
2006-06-29 4:39 ` Randy.Dunlap
0 siblings, 1 reply; 9+ messages in thread
From: Matt LaPlante @ 2006-06-29 4:06 UTC (permalink / raw)
To: linux-kernel
Hi All,
This is my first attempt at submitting a patch, so I apologize if I've
broken any rules. I started out looking for errors in KConfig text, and
after finding one instance of the popular repetition "the the" I decided to
grep for other occurrences. To my surprise, I popped up quite a few of
them! The patch below corrects these typos across several files, both in
source comments and KConfig files. There is no actual code changed, only
text. Note this only affects the /arch directory, and I believe I could
find many more elsewhere. :) I'm not submitting for inclusion yet, so I can
get feedback incase I need to change my format.
-
Matt LaPlante
CCNP, CCDP, A+, Linux+, CQS
laplam@rpi.edu
--
diff -ru a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c
b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c
--- a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c 2006-06-28
23:20:26.000000000 -0400
+++ b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c 2006-06-28
23:45:49.000000000 -0400
@@ -163,7 +163,7 @@
/* CPLD doesn't have ack capability, but some devices may */
#if defined (CPLD_INTMASK_TOUCH)
- /* The touch control *must* mask the the interrupt because the
+ /* The touch control *must* mask the interrupt because the
* interrupt bit is read by the driver to determine if the pen
* is still down. */
if (irq == IRQ_TOUCH)
diff -ru a/arch/i386/Kconfig b/arch/i386/Kconfig
--- a/arch/i386/Kconfig 2006-06-28 23:20:26.000000000 -0400
+++ b/arch/i386/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -667,7 +667,7 @@
depends on ACPI
default n
---help---
- This enables the the kernel to boot on EFI platforms using
+ This enables the kernel to boot on EFI platforms using
system configuration information passed to it from the firmware.
This also enables the kernel to use any EFI runtime services that
are
available (such as the EFI variable services).
diff -ru a/arch/i386/pci/fixup.c b/arch/i386/pci/fixup.c
--- a/arch/i386/pci/fixup.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/i386/pci/fixup.c 2006-06-28 23:39:21.000000000 -0400
@@ -393,7 +393,7 @@
* We pretend to bring them out of full D3 state, and restore the proper
* IRQ, PCI cache line size, and BARs, otherwise the device won't function
* properly. In some cases, the device will generate an interrupt on
- * the wrong IRQ line, causing any devices sharing the the line it's
+ * the wrong IRQ line, causing any devices sharing the line it's
* *supposed* to use to be disabled by the kernel's IRQ debug code.
*/
static u16 toshiba_line_size;
diff -ru a/arch/ia64/sn/kernel/xpnet.c b/arch/ia64/sn/kernel/xpnet.c
--- a/arch/ia64/sn/kernel/xpnet.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/ia64/sn/kernel/xpnet.c 2006-06-28 23:45:48.000000000 -0400
@@ -226,7 +226,7 @@
skb_put(skb, (msg->size - msg->leadin_ignore -
msg->tailout_ignore));
/*
- * Move the data over from the the other side.
+ * Move the data over from the other side.
*/
if ((XPNET_VERSION_MINOR(msg->version) == 1) &&
(msg->embedded_bytes != 0))
{
diff -ru a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig
--- a/arch/m68knommu/Kconfig 2006-06-28 23:20:26.000000000 -0400
+++ b/arch/m68knommu/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -495,7 +495,7 @@
hex "Address of the base of system vectors"
default "0"
help
- Define the address of the the system vectors. Commonly this is
+ Define the address of the system vectors. Commonly this is
put at the start of RAM, but it doesn't have to be. On ColdFire
platforms this address is programmed into the VBR register, thus
actually setting the address to use.
diff -ru a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
--- a/arch/mips/mm/tlbex.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/mips/mm/tlbex.c 2006-06-28 23:44:22.000000000 -0400
@@ -1214,7 +1214,7 @@
* Overflow check: For the 64bit handler, we need at least one
* free instruction slot for the wrap-around branch. In worst
* case, if the intended insertion point is a delay slot, we
- * need three, with the the second nop'ed and the third being
+ * need three, with the second nop'ed and the third being
* unused.
*/
#ifdef CONFIG_32BIT
diff -ru a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S
--- a/arch/parisc/kernel/entry.S 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/parisc/kernel/entry.S 2006-06-28 23:44:22.000000000 -0400
@@ -942,8 +942,8 @@
* to "proper" values now (otherwise we'll wind up restoring
* whatever was last stored in the task structure, which might
* be inconsistent if an interrupt occured while on the gateway
- * page) Note that we may be "trashing" values the user put in
- * them, but we don't support the the user changing them.
+ * page). Note that we may be "trashing" values the user put in
+ * them, but we don't support the user changing them.
*/
STREG %r0,PT_SR2(%r16)
diff -ru a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
--- a/arch/powerpc/Kconfig 2006-06-28 23:20:27.000000000 -0400
+++ b/arch/powerpc/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -958,7 +958,7 @@
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
This option allows you to set the base virtual address
- of the the consistent memory pool. This pool of virtual
+ of the consistent memory pool. This pool of virtual
memory is used to make consistent memory allocations.
config CONSISTENT_START
@@ -969,7 +969,7 @@
bool "Set custom consistent memory pool size"
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
- This option allows you to set the size of the the
+ This option allows you to set the size of the
consistent memory pool. This pool of virtual memory
is used to make consistent memory allocations.
diff -ru a/arch/ppc/Kconfig b/arch/ppc/Kconfig
--- a/arch/ppc/Kconfig 2006-06-28 23:20:27.000000000 -0400
+++ b/arch/ppc/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -1342,7 +1342,7 @@
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
This option allows you to set the base virtual address
- of the the consistent memory pool. This pool of virtual
+ of the consistent memory pool. This pool of virtual
memory is used to make consistent memory allocations.
config CONSISTENT_START
@@ -1353,7 +1353,7 @@
bool "Set custom consistent memory pool size"
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
- This option allows you to set the size of the the
+ This option allows you to set the size of the
consistent memory pool. This pool of virtual memory
is used to make consistent memory allocations.
diff -ru a/arch/um/drivers/line.c b/arch/um/drivers/line.c
--- a/arch/um/drivers/line.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/um/drivers/line.c 2006-06-28 23:44:21.000000000 -0400
@@ -498,7 +498,7 @@
}
/* Common setup code for both startup command line and mconsole
initialization.
- * @lines contains the the array (of size @num) to modify;
+ * @lines contains the array (of size @num) to modify;
* @init is the setup string;
*/
diff -ru a/arch/um/include/sysdep-x86_64/ptrace_user.h
b/arch/um/include/sysdep-x86_64/ptrace_user.h
--- a/arch/um/include/sysdep-x86_64/ptrace_user.h 2006-06-20
05:31:55.000000000 -0400
+++ b/arch/um/include/sysdep-x86_64/ptrace_user.h 2006-06-28
23:47:48.000000000 -0400
@@ -55,7 +55,7 @@
#define PTRACE_OLDSETOPTIONS 21
#endif
-/* These are before the system call, so the the system call number is RAX
+/* These are before the system call, so the system call number is RAX
* rather than ORIG_RAX, and arg4 is R10 rather than RCX
*/
#define REGS_SYSCALL_NR PT_INDEX(RAX)
diff -ru a/arch/um/Makefile b/arch/um/Makefile
--- a/arch/um/Makefile 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/um/Makefile 2006-06-28 23:39:21.000000000 -0400
@@ -102,7 +102,7 @@
define archhelp
echo '* linux - Binary kernel image (./linux) - for
backward'
echo ' compatibility only, this creates a hard link to
the'
- echo ' real kernel binary, the the "vmlinux" binary you'
+ echo ' real kernel binary, the "vmlinux" binary you'
echo ' find in the kernel root.'
endef
diff -ru a/arch/v850/kernel/entry.S b/arch/v850/kernel/entry.S
--- a/arch/v850/kernel/entry.S 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/v850/kernel/entry.S 2006-06-28 23:41:24.000000000 -0400
@@ -195,7 +195,7 @@
sst.w lp, PTO+PT_GPR(GPR_LP)[ep];
\
type ## _STATE_SAVER
/* Pop a register state pushed by PUSH_STATE, except for the stack pointer,
- from the the stack. */
+ from the stack. */
#define POP_STATE(type)
\
mov sp, ep;
\
type ## _STATE_RESTORER;
\
diff -ru a/arch/xtensa/lib/usercopy.S b/arch/xtensa/lib/usercopy.S
--- a/arch/xtensa/lib/usercopy.S 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/xtensa/lib/usercopy.S 2006-06-28 23:47:48.000000000 -0400
@@ -5,10 +5,10 @@
*
* DO NOT COMBINE this function with <arch/xtensa/lib/hal/memcopy.S>.
* It needs to remain separate and distinct. The hal files are part
- * of the the Xtensa link-time HAL, and those files may differ per
+ * of the Xtensa link-time HAL, and those files may differ per
* processor configuration. Patching the kernel for another
* processor configuration includes replacing the hal files, and we
- * could loose the special functionality for accessing user-space
+ * could lose the special functionality for accessing user-space
* memory during such a patch. We sacrifice a little code space here
* in favor to simplify code maintenance.
*
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Patch] Attack of "the the"s in /arch
2006-06-29 4:06 [Patch] Attack of "the the"s in /arch Matt LaPlante
@ 2006-06-29 4:39 ` Randy.Dunlap
2006-06-29 4:44 ` Matt LaPlante
2006-06-29 5:16 ` Matt LaPlante
0 siblings, 2 replies; 9+ messages in thread
From: Randy.Dunlap @ 2006-06-29 4:39 UTC (permalink / raw)
To: Matt LaPlante; +Cc: linux-kernel
On Thu, 29 Jun 2006 00:06:25 -0400 Matt LaPlante wrote:
> Hi All,
> This is my first attempt at submitting a patch, so I apologize if I've
> broken any rules. I started out looking for errors in KConfig text, and
> after finding one instance of the popular repetition "the the" I decided to
> grep for other occurrences. To my surprise, I popped up quite a few of
> them! The patch below corrects these typos across several files, both in
> source comments and KConfig files. There is no actual code changed, only
> text. Note this only affects the /arch directory, and I believe I could
> find many more elsewhere. :) I'm not submitting for inclusion yet, so I can
> get feedback incase I need to change my format.
Hi Matt,
The only problem that I see is that your mail client or server
breaks some (longer) lines where they should not be split,
so the patch cannot be applied with 'patch'.
E.g.:
> diff -ru a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c
> b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c
> --- a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c 2006-06-28
> 23:20:26.000000000 -0400
> +++ b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c 2006-06-28
> 23:45:49.000000000 -0400
Above should be 3 lines:
diff ...
--- ...
+++ ...
but it is broken into 6 lines. Your options are (e.g.):
- use (some) Linux client to send email (not all are good for patches)
- on Windows: use thunderbird or sylpheed or (last resort, not
really good since it makes reviewing & sending feedback on patches
more difficult on us) is to use attachments. Please don't go for
the last resort.
Sylpheed (sylpheed.good-day.net) supports inserting a file into
the email body, which is perfect (at least on Linux it does,
I hope that it does on Windows too).
Tbird is more of a problem, but can do done. If you care to use
tbird, take a look at
http://mbligh.org/linuxdocs/Email/Clients/Thunderbird
and
http://lkml.org/lkml/2005/12/27/191
and
http://lists.osdl.org/pipermail/kernel-janitors/2006-June/006478.html
for details on how to use it (on Linux, hopefully Windows is
about the same).
Try not to use attachments...
Oh, there are other split lines in your patch. After joining all of
the split lines (10-12 of them), the patch applies cleanly except
for one file. I'm applying it to 2.6.17-git13. What kernel version
did you use to make it? You should use a very current version.
---
~Randy
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [Patch] Attack of "the the"s in /arch
2006-06-29 4:39 ` Randy.Dunlap
@ 2006-06-29 4:44 ` Matt LaPlante
2006-06-29 5:16 ` Matt LaPlante
1 sibling, 0 replies; 9+ messages in thread
From: Matt LaPlante @ 2006-06-29 4:44 UTC (permalink / raw)
To: 'Randy.Dunlap'; +Cc: linux-kernel
> -----Original Message-----
> From: Randy.Dunlap [mailto:rdunlap@xenotime.net]
> Sent: Thursday, June 29, 2006 12:39 AM
> To: Matt LaPlante
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: [Patch] Attack of "the the"s in /arch
>
> On Thu, 29 Jun 2006 00:06:25 -0400 Matt LaPlante wrote:
>
[me]
>
> Hi Matt,
>
> The only problem that I see is that your mail client or server
> breaks some (longer) lines where they should not be split,
> so the patch cannot be applied with 'patch'.
>
> E.g.:
>
> > diff -ru a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c
> > b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c
> > --- a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c 2006-06-28
> > 23:20:26.000000000 -0400
> > +++ b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c 2006-06-28
> > 23:45:49.000000000 -0400
>
> Above should be 3 lines:
> diff ...
> --- ...
> +++ ...
>
> but it is broken into 6 lines. Your options are (e.g.):
>
> - use (some) Linux client to send email (not all are good for patches)
> - on Windows: use thunderbird or sylpheed or (last resort, not
> really good since it makes reviewing & sending feedback on patches
> more difficult on us) is to use attachments. Please don't go for
> the last resort.
>
> Sylpheed (sylpheed.good-day.net) supports inserting a file into
> the email body, which is perfect (at least on Linux it does,
> I hope that it does on Windows too).
> Tbird is more of a problem, but can do done. If you care to use
> tbird, take a look at
> http://mbligh.org/linuxdocs/Email/Clients/Thunderbird
> and
> http://lkml.org/lkml/2005/12/27/191
> and
> http://lists.osdl.org/pipermail/kernel-janitors/2006-June/006478.html
> for details on how to use it (on Linux, hopefully Windows is
> about the same).
>
> Try not to use attachments...
>
> Oh, there are other split lines in your patch. After joining all of
> the split lines (10-12 of them), the patch applies cleanly except
> for one file. I'm applying it to 2.6.17-git13. What kernel version
> did you use to make it? You should use a very current version.
>
> ---
> ~Randy
I used git13 as well. I've actually got some more typo fixes ready to
submit, so I will find a better mailing method separately, then post them.
Thanks for the feedback.
-
Matt
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Patch] Attack of "the the"s in /arch
2006-06-29 4:39 ` Randy.Dunlap
2006-06-29 4:44 ` Matt LaPlante
@ 2006-06-29 5:16 ` Matt LaPlante
2006-06-29 6:03 ` Randy.Dunlap
1 sibling, 1 reply; 9+ messages in thread
From: Matt LaPlante @ 2006-06-29 5:16 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: linux-kernel
Trying again, this time with sylpheed...
-
Matt
--
diff -ru a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c
--- a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c 2006-06-28 23:20:26.000000000 -0400
+++ b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c 2006-06-28 23:45:49.000000000 -0400
@@ -163,7 +163,7 @@
/* CPLD doesn't have ack capability, but some devices may */
#if defined (CPLD_INTMASK_TOUCH)
- /* The touch control *must* mask the the interrupt because the
+ /* The touch control *must* mask the interrupt because the
* interrupt bit is read by the driver to determine if the pen
* is still down. */
if (irq == IRQ_TOUCH)
diff -ru a/arch/i386/Kconfig b/arch/i386/Kconfig
--- a/arch/i386/Kconfig 2006-06-28 23:20:26.000000000 -0400
+++ b/arch/i386/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -667,7 +667,7 @@
depends on ACPI
default n
---help---
- This enables the the kernel to boot on EFI platforms using
+ This enables the kernel to boot on EFI platforms using
system configuration information passed to it from the firmware.
This also enables the kernel to use any EFI runtime services that are
available (such as the EFI variable services).
diff -ru a/arch/i386/pci/fixup.c b/arch/i386/pci/fixup.c
--- a/arch/i386/pci/fixup.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/i386/pci/fixup.c 2006-06-28 23:39:21.000000000 -0400
@@ -393,7 +393,7 @@
* We pretend to bring them out of full D3 state, and restore the proper
* IRQ, PCI cache line size, and BARs, otherwise the device won't function
* properly. In some cases, the device will generate an interrupt on
- * the wrong IRQ line, causing any devices sharing the the line it's
+ * the wrong IRQ line, causing any devices sharing the line it's
* *supposed* to use to be disabled by the kernel's IRQ debug code.
*/
static u16 toshiba_line_size;
diff -ru a/arch/ia64/sn/kernel/xpnet.c b/arch/ia64/sn/kernel/xpnet.c
--- a/arch/ia64/sn/kernel/xpnet.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/ia64/sn/kernel/xpnet.c 2006-06-28 23:45:48.000000000 -0400
@@ -226,7 +226,7 @@
skb_put(skb, (msg->size - msg->leadin_ignore - msg->tailout_ignore));
/*
- * Move the data over from the the other side.
+ * Move the data over from the other side.
*/
if ((XPNET_VERSION_MINOR(msg->version) == 1) &&
(msg->embedded_bytes != 0)) {
diff -ru a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig
--- a/arch/m68knommu/Kconfig 2006-06-28 23:20:26.000000000 -0400
+++ b/arch/m68knommu/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -495,7 +495,7 @@
hex "Address of the base of system vectors"
default "0"
help
- Define the address of the the system vectors. Commonly this is
+ Define the address of the system vectors. Commonly this is
put at the start of RAM, but it doesn't have to be. On ColdFire
platforms this address is programmed into the VBR register, thus
actually setting the address to use.
diff -ru a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
--- a/arch/mips/mm/tlbex.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/mips/mm/tlbex.c 2006-06-28 23:44:22.000000000 -0400
@@ -1214,7 +1214,7 @@
* Overflow check: For the 64bit handler, we need at least one
* free instruction slot for the wrap-around branch. In worst
* case, if the intended insertion point is a delay slot, we
- * need three, with the the second nop'ed and the third being
+ * need three, with the second nop'ed and the third being
* unused.
*/
#ifdef CONFIG_32BIT
diff -ru a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S
--- a/arch/parisc/kernel/entry.S 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/parisc/kernel/entry.S 2006-06-28 23:44:22.000000000 -0400
@@ -942,8 +942,8 @@
* to "proper" values now (otherwise we'll wind up restoring
* whatever was last stored in the task structure, which might
* be inconsistent if an interrupt occured while on the gateway
- * page) Note that we may be "trashing" values the user put in
- * them, but we don't support the the user changing them.
+ * page). Note that we may be "trashing" values the user put in
+ * them, but we don't support the user changing them.
*/
STREG %r0,PT_SR2(%r16)
diff -ru a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
--- a/arch/powerpc/Kconfig 2006-06-28 23:20:27.000000000 -0400
+++ b/arch/powerpc/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -958,7 +958,7 @@
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
This option allows you to set the base virtual address
- of the the consistent memory pool. This pool of virtual
+ of the consistent memory pool. This pool of virtual
memory is used to make consistent memory allocations.
config CONSISTENT_START
@@ -969,7 +969,7 @@
bool "Set custom consistent memory pool size"
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
- This option allows you to set the size of the the
+ This option allows you to set the size of the
consistent memory pool. This pool of virtual memory
is used to make consistent memory allocations.
diff -ru a/arch/ppc/Kconfig b/arch/ppc/Kconfig
--- a/arch/ppc/Kconfig 2006-06-28 23:20:27.000000000 -0400
+++ b/arch/ppc/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -1342,7 +1342,7 @@
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
This option allows you to set the base virtual address
- of the the consistent memory pool. This pool of virtual
+ of the consistent memory pool. This pool of virtual
memory is used to make consistent memory allocations.
config CONSISTENT_START
@@ -1353,7 +1353,7 @@
bool "Set custom consistent memory pool size"
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
- This option allows you to set the size of the the
+ This option allows you to set the size of the
consistent memory pool. This pool of virtual memory
is used to make consistent memory allocations.
diff -ru a/arch/um/drivers/line.c b/arch/um/drivers/line.c
--- a/arch/um/drivers/line.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/um/drivers/line.c 2006-06-28 23:44:21.000000000 -0400
@@ -498,7 +498,7 @@
}
/* Common setup code for both startup command line and mconsole initialization.
- * @lines contains the the array (of size @num) to modify;
+ * @lines contains the array (of size @num) to modify;
* @init is the setup string;
*/
diff -ru a/arch/um/include/sysdep-x86_64/ptrace_user.h b/arch/um/include/sysdep-x86_64/ptrace_user.h
--- a/arch/um/include/sysdep-x86_64/ptrace_user.h 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/um/include/sysdep-x86_64/ptrace_user.h 2006-06-28 23:47:48.000000000 -0400
@@ -55,7 +55,7 @@
#define PTRACE_OLDSETOPTIONS 21
#endif
-/* These are before the system call, so the the system call number is RAX
+/* These are before the system call, so the system call number is RAX
* rather than ORIG_RAX, and arg4 is R10 rather than RCX
*/
#define REGS_SYSCALL_NR PT_INDEX(RAX)
diff -ru a/arch/um/Makefile b/arch/um/Makefile
--- a/arch/um/Makefile 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/um/Makefile 2006-06-28 23:39:21.000000000 -0400
@@ -102,7 +102,7 @@
define archhelp
echo '* linux - Binary kernel image (./linux) - for backward'
echo ' compatibility only, this creates a hard link to the'
- echo ' real kernel binary, the the "vmlinux" binary you'
+ echo ' real kernel binary, the "vmlinux" binary you'
echo ' find in the kernel root.'
endef
diff -ru a/arch/v850/kernel/entry.S b/arch/v850/kernel/entry.S
--- a/arch/v850/kernel/entry.S 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/v850/kernel/entry.S 2006-06-28 23:41:24.000000000 -0400
@@ -195,7 +195,7 @@
sst.w lp, PTO+PT_GPR(GPR_LP)[ep]; \
type ## _STATE_SAVER
/* Pop a register state pushed by PUSH_STATE, except for the stack pointer,
- from the the stack. */
+ from the stack. */
#define POP_STATE(type) \
mov sp, ep; \
type ## _STATE_RESTORER; \
diff -ru a/arch/xtensa/lib/usercopy.S b/arch/xtensa/lib/usercopy.S
--- a/arch/xtensa/lib/usercopy.S 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/xtensa/lib/usercopy.S 2006-06-28 23:47:48.000000000 -0400
@@ -5,10 +5,10 @@
*
* DO NOT COMBINE this function with <arch/xtensa/lib/hal/memcopy.S>.
* It needs to remain separate and distinct. The hal files are part
- * of the the Xtensa link-time HAL, and those files may differ per
+ * of the Xtensa link-time HAL, and those files may differ per
* processor configuration. Patching the kernel for another
* processor configuration includes replacing the hal files, and we
- * could loose the special functionality for accessing user-space
+ * could lose the special functionality for accessing user-space
* memory during such a patch. We sacrifice a little code space here
* in favor to simplify code maintenance.
*
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Patch] Attack of "the the"s in /arch
2006-06-29 5:16 ` Matt LaPlante
@ 2006-06-29 6:03 ` Randy.Dunlap
2006-06-29 6:48 ` [PATCH] " Matt LaPlante
0 siblings, 1 reply; 9+ messages in thread
From: Randy.Dunlap @ 2006-06-29 6:03 UTC (permalink / raw)
To: Matt LaPlante; +Cc: linux-kernel
On Thu, 29 Jun 2006 01:16:51 -0400 Matt LaPlante wrote:
> Trying again, this time with sylpheed...
Yep, that worked, applies cleanly.
---
~Randy
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Attack of "the the"s in /arch
2006-06-29 6:03 ` Randy.Dunlap
@ 2006-06-29 6:48 ` Matt LaPlante
2006-06-29 8:04 ` Paolo Ornati
0 siblings, 1 reply; 9+ messages in thread
From: Matt LaPlante @ 2006-06-29 6:48 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: linux-kernel, Linus Torvalds
On Wed, 28 Jun 2006 23:03:05 -0700
"Randy.Dunlap" <rdunlap@xenotime.net> wrote:
> On Thu, 29 Jun 2006 01:16:51 -0400 Matt LaPlante wrote:
>
> > Trying again, this time with sylpheed...
>
> Yep, that worked, applies cleanly.
>
> ---
> ~Randy
>
Thanks Randy. Since this patch spans maintainers, I'll CC: to Linus and hope for the best.
Patch (Re)Description: The patch below corrects multiple occurances of "the the" typos across several files, both in source comments and KConfig files. There is no actual code changed, only text. Note this only affects the /arch directory, and I believe I could find many more elsewhere. :)
-
Matt LaPlante
CCNP, CCDP, A+, Linux+, CQS
laplam@rpi.edu
--
diff -ru a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c
--- a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c 2006-06-28 23:20:26.000000000 -0400
+++ b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c 2006-06-28 23:45:49.000000000 -0400
@@ -163,7 +163,7 @@
/* CPLD doesn't have ack capability, but some devices may */
#if defined (CPLD_INTMASK_TOUCH)
- /* The touch control *must* mask the the interrupt because the
+ /* The touch control *must* mask the interrupt because the
* interrupt bit is read by the driver to determine if the pen
* is still down. */
if (irq == IRQ_TOUCH)
diff -ru a/arch/i386/Kconfig b/arch/i386/Kconfig
--- a/arch/i386/Kconfig 2006-06-28 23:20:26.000000000 -0400
+++ b/arch/i386/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -667,7 +667,7 @@
depends on ACPI
default n
---help---
- This enables the the kernel to boot on EFI platforms using
+ This enables the kernel to boot on EFI platforms using
system configuration information passed to it from the firmware.
This also enables the kernel to use any EFI runtime services that are
available (such as the EFI variable services).
diff -ru a/arch/i386/pci/fixup.c b/arch/i386/pci/fixup.c
--- a/arch/i386/pci/fixup.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/i386/pci/fixup.c 2006-06-28 23:39:21.000000000 -0400
@@ -393,7 +393,7 @@
* We pretend to bring them out of full D3 state, and restore the proper
* IRQ, PCI cache line size, and BARs, otherwise the device won't function
* properly. In some cases, the device will generate an interrupt on
- * the wrong IRQ line, causing any devices sharing the the line it's
+ * the wrong IRQ line, causing any devices sharing the line it's
* *supposed* to use to be disabled by the kernel's IRQ debug code.
*/
static u16 toshiba_line_size;
diff -ru a/arch/ia64/sn/kernel/xpnet.c b/arch/ia64/sn/kernel/xpnet.c
--- a/arch/ia64/sn/kernel/xpnet.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/ia64/sn/kernel/xpnet.c 2006-06-28 23:45:48.000000000 -0400
@@ -226,7 +226,7 @@
skb_put(skb, (msg->size - msg->leadin_ignore - msg->tailout_ignore));
/*
- * Move the data over from the the other side.
+ * Move the data over from the other side.
*/
if ((XPNET_VERSION_MINOR(msg->version) == 1) &&
(msg->embedded_bytes != 0)) {
diff -ru a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig
--- a/arch/m68knommu/Kconfig 2006-06-28 23:20:26.000000000 -0400
+++ b/arch/m68knommu/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -495,7 +495,7 @@
hex "Address of the base of system vectors"
default "0"
help
- Define the address of the the system vectors. Commonly this is
+ Define the address of the system vectors. Commonly this is
put at the start of RAM, but it doesn't have to be. On ColdFire
platforms this address is programmed into the VBR register, thus
actually setting the address to use.
diff -ru a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
--- a/arch/mips/mm/tlbex.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/mips/mm/tlbex.c 2006-06-28 23:44:22.000000000 -0400
@@ -1214,7 +1214,7 @@
* Overflow check: For the 64bit handler, we need at least one
* free instruction slot for the wrap-around branch. In worst
* case, if the intended insertion point is a delay slot, we
- * need three, with the the second nop'ed and the third being
+ * need three, with the second nop'ed and the third being
* unused.
*/
#ifdef CONFIG_32BIT
diff -ru a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S
--- a/arch/parisc/kernel/entry.S 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/parisc/kernel/entry.S 2006-06-28 23:44:22.000000000 -0400
@@ -942,8 +942,8 @@
* to "proper" values now (otherwise we'll wind up restoring
* whatever was last stored in the task structure, which might
* be inconsistent if an interrupt occured while on the gateway
- * page) Note that we may be "trashing" values the user put in
- * them, but we don't support the the user changing them.
+ * page). Note that we may be "trashing" values the user put in
+ * them, but we don't support the user changing them.
*/
STREG %r0,PT_SR2(%r16)
diff -ru a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
--- a/arch/powerpc/Kconfig 2006-06-28 23:20:27.000000000 -0400
+++ b/arch/powerpc/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -958,7 +958,7 @@
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
This option allows you to set the base virtual address
- of the the consistent memory pool. This pool of virtual
+ of the consistent memory pool. This pool of virtual
memory is used to make consistent memory allocations.
config CONSISTENT_START
@@ -969,7 +969,7 @@
bool "Set custom consistent memory pool size"
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
- This option allows you to set the size of the the
+ This option allows you to set the size of the
consistent memory pool. This pool of virtual memory
is used to make consistent memory allocations.
diff -ru a/arch/ppc/Kconfig b/arch/ppc/Kconfig
--- a/arch/ppc/Kconfig 2006-06-28 23:20:27.000000000 -0400
+++ b/arch/ppc/Kconfig 2006-06-28 23:39:21.000000000 -0400
@@ -1342,7 +1342,7 @@
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
This option allows you to set the base virtual address
- of the the consistent memory pool. This pool of virtual
+ of the consistent memory pool. This pool of virtual
memory is used to make consistent memory allocations.
config CONSISTENT_START
@@ -1353,7 +1353,7 @@
bool "Set custom consistent memory pool size"
depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
help
- This option allows you to set the size of the the
+ This option allows you to set the size of the
consistent memory pool. This pool of virtual memory
is used to make consistent memory allocations.
diff -ru a/arch/um/drivers/line.c b/arch/um/drivers/line.c
--- a/arch/um/drivers/line.c 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/um/drivers/line.c 2006-06-28 23:44:21.000000000 -0400
@@ -498,7 +498,7 @@
}
/* Common setup code for both startup command line and mconsole initialization.
- * @lines contains the the array (of size @num) to modify;
+ * @lines contains the array (of size @num) to modify;
* @init is the setup string;
*/
diff -ru a/arch/um/include/sysdep-x86_64/ptrace_user.h b/arch/um/include/sysdep-x86_64/ptrace_user.h
--- a/arch/um/include/sysdep-x86_64/ptrace_user.h 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/um/include/sysdep-x86_64/ptrace_user.h 2006-06-28 23:47:48.000000000 -0400
@@ -55,7 +55,7 @@
#define PTRACE_OLDSETOPTIONS 21
#endif
-/* These are before the system call, so the the system call number is RAX
+/* These are before the system call, so the system call number is RAX
* rather than ORIG_RAX, and arg4 is R10 rather than RCX
*/
#define REGS_SYSCALL_NR PT_INDEX(RAX)
diff -ru a/arch/um/Makefile b/arch/um/Makefile
--- a/arch/um/Makefile 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/um/Makefile 2006-06-28 23:39:21.000000000 -0400
@@ -102,7 +102,7 @@
define archhelp
echo '* linux - Binary kernel image (./linux) - for backward'
echo ' compatibility only, this creates a hard link to the'
- echo ' real kernel binary, the the "vmlinux" binary you'
+ echo ' real kernel binary, the "vmlinux" binary you'
echo ' find in the kernel root.'
endef
diff -ru a/arch/v850/kernel/entry.S b/arch/v850/kernel/entry.S
--- a/arch/v850/kernel/entry.S 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/v850/kernel/entry.S 2006-06-28 23:41:24.000000000 -0400
@@ -195,7 +195,7 @@
sst.w lp, PTO+PT_GPR(GPR_LP)[ep]; \
type ## _STATE_SAVER
/* Pop a register state pushed by PUSH_STATE, except for the stack pointer,
- from the the stack. */
+ from the stack. */
#define POP_STATE(type) \
mov sp, ep; \
type ## _STATE_RESTORER; \
diff -ru a/arch/xtensa/lib/usercopy.S b/arch/xtensa/lib/usercopy.S
--- a/arch/xtensa/lib/usercopy.S 2006-06-20 05:31:55.000000000 -0400
+++ b/arch/xtensa/lib/usercopy.S 2006-06-28 23:47:48.000000000 -0400
@@ -5,10 +5,10 @@
*
* DO NOT COMBINE this function with <arch/xtensa/lib/hal/memcopy.S>.
* It needs to remain separate and distinct. The hal files are part
- * of the the Xtensa link-time HAL, and those files may differ per
+ * of the Xtensa link-time HAL, and those files may differ per
* processor configuration. Patching the kernel for another
* processor configuration includes replacing the hal files, and we
- * could loose the special functionality for accessing user-space
+ * could lose the special functionality for accessing user-space
* memory during such a patch. We sacrifice a little code space here
* in favor to simplify code maintenance.
*
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Attack of "the the"s in /arch
2006-06-29 6:48 ` [PATCH] " Matt LaPlante
@ 2006-06-29 8:04 ` Paolo Ornati
2006-06-29 16:52 ` Matt LaPlante
0 siblings, 1 reply; 9+ messages in thread
From: Paolo Ornati @ 2006-06-29 8:04 UTC (permalink / raw)
To: Matt LaPlante; +Cc: Randy.Dunlap, linux-kernel
On Thu, 29 Jun 2006 02:48:05 -0400
Matt LaPlante <laplam@rpi.edu> wrote:
> I'll CC: to Linus and hope for the best.
Since Linus receives a lot of mails the best option was to send it to
"trivial@kernel.org":
Documentation/SubmittingPatches:
-----
For small patches you may want to CC the Trivial Patch Monkey
trivial@kernel.org managed by Adrian Bunk; which collects "trivial"
patches. Trivial patches must qualify for one of the following rules:
Spelling fixes in documentation
Spelling fixes which could break grep(1).
Warning fixes (cluttering with useless warnings is bad)
...
-----
:)
--
Paolo Ornati
Linux 2.6.17.1 on x86_64
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Attack of "the the"s in /arch
2006-06-29 8:04 ` Paolo Ornati
@ 2006-06-29 16:52 ` Matt LaPlante
2006-06-30 9:31 ` Paolo Ornati
0 siblings, 1 reply; 9+ messages in thread
From: Matt LaPlante @ 2006-06-29 16:52 UTC (permalink / raw)
To: Paolo Ornati; +Cc: rdunlap, linux-kernel
On Thu, 29 Jun 2006 10:04:57 +0200
Paolo Ornati <ornati@fastwebnet.it> wrote:
> On Thu, 29 Jun 2006 02:48:05 -0400
> Matt LaPlante <laplam@rpi.edu> wrote:
>
> > I'll CC: to Linus and hope for the best.
>
> Since Linus receives a lot of mails the best option was to send it to
> "trivial@kernel.org":
>
> Documentation/SubmittingPatches:
> -----
> For small patches you may want to CC the Trivial Patch Monkey
> trivial@kernel.org managed by Adrian Bunk; which collects "trivial"
> patches. Trivial patches must qualify for one of the following rules:
> Spelling fixes in documentation
> Spelling fixes which could break grep(1).
> Warning fixes (cluttering with useless warnings is bad)
> ...
> -----
>
> :)
>
> --
> Paolo Ornati
> Linux 2.6.17.1 on x86_64
>
Thanks for the pointer, I will do this from now on. I was reading the patch submission info at http://www.kernel.org/pub/linux/docs/lkml/, and it does not suggest this (it goes Maintainer> Linus | Alan Cox), so I did not know. Maybe this address could be added either to maintainers or the lkml page?
-
Matt LaPlante
CCNP, CCDP, A+, Linux+, CQS
laplam@rpi.edu
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] Attack of "the the"s in /arch
2006-06-29 16:52 ` Matt LaPlante
@ 2006-06-30 9:31 ` Paolo Ornati
0 siblings, 0 replies; 9+ messages in thread
From: Paolo Ornati @ 2006-06-30 9:31 UTC (permalink / raw)
To: Matt LaPlante; +Cc: rdunlap, linux-kernel
On Thu, 29 Jun 2006 12:52:49 -0400
Matt LaPlante <laplam@rpi.edu> wrote:
> Thanks for the pointer, I will do this from now on. I was reading the patch submission info at http://www.kernel.org/pub/linux/docs/lkml/, and it does not suggest this (it goes Maintainer> Linus | Alan Cox), so I did not know. Maybe this address could be added either to maintainers or the lkml page?
At the end of:
http://www.kernel.org/pub/linux/docs/lkml/
there's:
"Contributing
Contributions are welcome on this FAQ. These can be submitted,
preferably in diff -u format, (against this HTML document source) by
Email to Richard (see the Contributors section above).
Sometimes, we may feel your contribution is controversial and/or
incomplete and/or could be improved somehow. Also, the turnaround time
has a wide range, from hours to months, depending on how busy Richard
is. Please do not email him to chase changes as it slows him down.
Suggestions and patches are queued, and will be processed eventually.
Acknowledgements are usually sent when the change is made. Please be
patient, FAQ updates are rarely urgent. Note that small, "obviously
correct" patches are more likely to be processed faster, and often jump
the queue ahead of larger patches."
If you want to send a patch...
--
Paolo Ornati
Linux 2.6.17.1 on x86_64
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-06-30 9:31 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-29 4:06 [Patch] Attack of "the the"s in /arch Matt LaPlante
2006-06-29 4:39 ` Randy.Dunlap
2006-06-29 4:44 ` Matt LaPlante
2006-06-29 5:16 ` Matt LaPlante
2006-06-29 6:03 ` Randy.Dunlap
2006-06-29 6:48 ` [PATCH] " Matt LaPlante
2006-06-29 8:04 ` Paolo Ornati
2006-06-29 16:52 ` Matt LaPlante
2006-06-30 9:31 ` Paolo Ornati
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox