Skip to contentSkip to conversation

mm: fix ambiguous comments for better code readability

PATCH In review hui yang 2 participants 2 messages May 27, 2020

Subsystems (2)
lore
Share & tools
lore

hui yang

author
#0 lore raw

PATCH 38/38 mm: fix ambiguous comments for better code readability

From: YangHui <[email protected]>

fixing it will make the code more readable

---
 include/linux/mm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mm.h +1 -1
index 5a32342..d671a3d 100644
@@ -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.
  *
Signature · 1 line
2.7.4
Acked-by on v1 38/38
#1 lore raw
Quoted 6 lines · hui yang

From: YangHui <[email protected]>

fixing it will make the code more readable

Quoted 21 lines
---
 include/linux/mm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mm.h +1 -2
index 5a32342..d671a3d 100644
@@ -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