diff mbox series

[38/38] mm: fix ambiguous comments for better code readability

Message ID 1590574238-3873-1-git-send-email-yanghui.def@gmail.com (mailing list archive)
State New, archived
Headers show
Series None | expand

Commit Message

hui yang May 27, 2020, 10:10 a.m. UTC
From: YangHui <yanghui.def@gmail.com>

fixing it will make the code more readable

Signed-off-by: YangHui <yanghui.def@gmail.com>
---
 include/linux/mm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Souptick Joarder May 27, 2020, 5:09 p.m. UTC | #1
On Wed, May 27, 2020 at 3:40 PM hui yang <yanghui.def@gmail.com> wrote:
>
> From: YangHui <yanghui.def@gmail.com>
>
> fixing it will make the code more readable
>
> Signed-off-by: YangHui <yanghui.def@gmail.com>

Acked-by: Souptick Joarder <jrdr.linux@gmail.com>

> ---
>  include/linux/mm.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/mm.h b/include/linux/mm.h
> index 5a32342..d671a3d 100644
> --- a/include/linux/mm.h
> +++ b/include/linux/mm.h
> @@ -482,7 +482,7 @@ static inline bool fault_flag_allow_retry_first(unsigned int flags)
>         { 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.
>   *
> --
> 2.7.4
>
>
diff mbox series

Patch

diff --git a/include/linux/mm.h b/include/linux/mm.h
index 5a32342..d671a3d 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -482,7 +482,7 @@  static inline bool fault_flag_allow_retry_first(unsigned int flags)
 	{ 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.
  *