linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 38/38] mm: fix ambiguous comments for better code readability
@ 2020-05-27 10:10 hui yang
  2020-05-27 17:09 ` Souptick Joarder
  0 siblings, 1 reply; 2+ messages in thread
From: hui yang @ 2020-05-27 10:10 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, YangHui

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(-)

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 38/38] mm: fix ambiguous comments for better code readability
  2020-05-27 10:10 [PATCH 38/38] mm: fix ambiguous comments for better code readability hui yang
@ 2020-05-27 17:09 ` Souptick Joarder
  0 siblings, 0 replies; 2+ messages in thread
From: Souptick Joarder @ 2020-05-27 17:09 UTC (permalink / raw)
  To: hui yang; +Cc: Andrew Morton, Linux-MM

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
>
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-27 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 10:10 [PATCH 38/38] mm: fix ambiguous comments for better code readability hui yang
2020-05-27 17:09 ` Souptick Joarder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).