Skip to contentSkip to conversation

mm/memory.c : cleanup the coding style issue

PATCH In review Wanpeng Li 2 participants 2 messages Jun 15, 2012

Subsystems (4)
lore
Share & tools
lore

Wanpeng Li

author
#0 lore raw

PATCH 7/7 mm/memory.c : cleanup the coding style issue

From: Wanpeng Li <[email protected]>

---
 mm/memory.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
mm/memory.c +2 -1
index 1b7dc66..195d6e1 100644
@@ -2447,7 +2447,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
 	return same;
 }
 
-static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
+static inline void cow_user_page(struct page *dst, struct page *src,
+		unsigned long va, struct vm_area_struct *vma)
 {
 	/*
 	 * If the source page was a PFN mapping, we don't have
Signature · 7 lines
1.7.9.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#1 lore raw
Quoted 5 lines
mm/memory.c +0 -0
index 1b7dc66..195d6e1 100644

mm/memory.c static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd, · line 2454

Quoted 9 lines
mm/memory.c +2 -1
@@ -2447,7 +2447,8 @@ static inline int pte_unmap_same(struct mm_struct *mm, pmd_t *pmd,
 	return same;
 }
 
-static inline void cow_user_page(struct page *dst, struct page *src, unsigned long va, struct vm_area_struct *vma)
+static inline void cow_user_page(struct page *dst, struct page *src,
+		unsigned long va, struct vm_area_struct *vma)
 {
 	/*
 	 * If the source page was a PFN mapping, we don't have

Nowadays, many developers prefer to declare a function in one line. and we don't think this is incorrect anymore. so, I think this is intentional.