Re: [PATCH] linux/sched/mm.h: drop duplicated words in comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> 
> Drop doubled words "to" and "that".
> 
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Reviewed-by: SeongJae Park <sjpark@xxxxxxxxx>


Thanks,
SeongJae Park

> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: linux-mm@xxxxxxxxx
> ---
>  include/linux/sched/mm.h |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> --- linux-next-20200714.orig/include/linux/sched/mm.h
> +++ linux-next-20200714/include/linux/sched/mm.h
> @@ -23,7 +23,7 @@ extern struct mm_struct *mm_alloc(void);
>   * will still exist later on and mmget_not_zero() has to be used before
>   * accessing it.
>   *
> - * This is a preferred way to to pin @mm for a longer/unbounded amount
> + * This is a preferred way to pin @mm for a longer/unbounded amount
>   * of time.
>   *
>   * Use mmdrop() to release the reference acquired by mmgrab().
> @@ -234,7 +234,7 @@ static inline unsigned int memalloc_noio
>   * @flags: Flags to restore.
>   *
>   * Ends the implicit GFP_NOIO scope started by memalloc_noio_save function.
> - * Always make sure that that the given flags is the return value from the
> + * Always make sure that the given flags is the return value from the
>   * pairing memalloc_noio_save call.
>   */
>  static inline void memalloc_noio_restore(unsigned int flags)
> @@ -265,7 +265,7 @@ static inline unsigned int memalloc_nofs
>   * @flags: Flags to restore.
>   *
>   * Ends the implicit GFP_NOFS scope started by memalloc_nofs_save function.
> - * Always make sure that that the given flags is the return value from the
> + * Always make sure that the given flags is the return value from the
>   * pairing memalloc_nofs_save call.
>   */
>  static inline void memalloc_nofs_restore(unsigned int flags)
> 




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux