mm/memory.c : cleanup the coding style issue
Subsystems (4)
PATCH 7/7 mm/memory.c : cleanup the coding style issue
From: Wanpeng Li <[email protected]>
Signed-off-by Wanpeng Li <[email protected]>
--- mm/memory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
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
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>
Quoted 5 lines
mm/memory.c +0
-0
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.