2020-07-16 01:31:14

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] mm: drop duplicated words in <linux/mm.h>

From: Randy Dunlap <[email protected]>

Drop the doubled words "to" and "the".

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: [email protected]
---
include/linux/mm.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20200714.orig/include/linux/mm.h
+++ linux-next-20200714/include/linux/mm.h
@@ -491,7 +491,7 @@ static inline bool fault_flag_allow_retr
{ FAULT_FLAG_INTERRUPTIBLE, "INTERRUPTIBLE" }

/*
- * vm_fault is filled by the the pagefault handler and passed to the vma's
+ * vm_fault is filled by the pagefault handler and passed to the vma's
* ->fault function. The vma's ->fault is responsible for returning a bitmask
* of VM_FAULT_xxx flags that give details about how the fault was handled.
*
@@ -2613,7 +2613,7 @@ extern unsigned long stack_guard_gap;
/* Generic expand stack which grows the stack according to GROWS{UP,DOWN} */
extern int expand_stack(struct vm_area_struct *vma, unsigned long address);

-/* CONFIG_STACK_GROWSUP still needs to to grow downwards at some places */
+/* CONFIG_STACK_GROWSUP still needs to grow downwards at some places */
extern int expand_downwards(struct vm_area_struct *vma,
unsigned long address);
#if VM_GROWSUP


2020-07-16 14:41:50

by SeongJae Park

[permalink] [raw]
Subject: Re: [PATCH] mm: drop duplicated words in <linux/mm.h>

On 2020-07-15T18:29:43-07:00 Randy Dunlap <[email protected]> wrote:

> From: Randy Dunlap <[email protected]>
>
> Drop the doubled words "to" and "the".
>
> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: [email protected]

Reviewed-by: SeongJae Park <[email protected]>


Thanks,
SeongJae Park

> ---
> include/linux/mm.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- linux-next-20200714.orig/include/linux/mm.h
> +++ linux-next-20200714/include/linux/mm.h
> @@ -491,7 +491,7 @@ static inline bool fault_flag_allow_retr
> { FAULT_FLAG_INTERRUPTIBLE, "INTERRUPTIBLE" }
>
> /*
> - * vm_fault is filled by the the pagefault handler and passed to the vma's
> + * vm_fault is filled by the pagefault handler and passed to the vma's
> * ->fault function. The vma's ->fault is responsible for returning a bitmask
> * of VM_FAULT_xxx flags that give details about how the fault was handled.
> *
> @@ -2613,7 +2613,7 @@ extern unsigned long stack_guard_gap;
> /* Generic expand stack which grows the stack according to GROWS{UP,DOWN} */
> extern int expand_stack(struct vm_area_struct *vma, unsigned long address);
>
> -/* CONFIG_STACK_GROWSUP still needs to to grow downwards at some places */
> +/* CONFIG_STACK_GROWSUP still needs to grow downwards at some places */
> extern int expand_downwards(struct vm_area_struct *vma,
> unsigned long address);
> #if VM_GROWSUP
>