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

From: SeongJae Park
Date: Thu Jul 16 2020 - 10:38:22 EST


On 2020-07-15T18:29:43-07:00 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Drop the doubled words "to" and "the".
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: linux-mm@xxxxxxxxx

Reviewed-by: SeongJae Park <sjpark@xxxxxxxxx>


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
>