diff for duplicates of <20081209075652.GA3515@helight> diff --git a/a/2.txt b/N1/2.txt index d05cc3a..8b13789 100644 --- a/a/2.txt +++ b/N1/2.txt @@ -1,76 +1 @@ ->From e968c1366585e4982f69e8ec0a27a806514676d0 Mon Sep 17 00:00:00 2001 -From: ZhenwenXu <helight.xu@gmail.com> -Date: Fri, 14 Nov 2008 22:14:32 +0800 -Subject: [PATCH] code style - -Signed-off-by: ZhenwenXu <helight.xu@gmail.com> ---- - mm/mmap.c | 16 ++++++++-------- - 1 files changed, 8 insertions(+), 8 deletions(-) - -diff --git a/mm/mmap.c b/mm/mmap.c -index e7a5a68..5750480 100644 ---- a/mm/mmap.c -+++ b/mm/mmap.c -@@ -412,7 +412,7 @@ void __vma_link_rb(struct mm_struct *mm, struct vm_area_struct *vma, - - static inline void __vma_link_file(struct vm_area_struct *vma) - { -- struct file * file; -+ struct file *file; - - file = vma->vm_file; - if (file) { -@@ -474,10 +474,10 @@ static void vma_link(struct mm_struct *mm, struct vm_area_struct *vma, - * but it has already been inserted into prio_tree earlier. - */ - static void --__insert_vm_struct(struct mm_struct * mm, struct vm_area_struct * vma) -+__insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma) - { -- struct vm_area_struct * __vma, * prev; -- struct rb_node ** rb_link, * rb_parent; -+ struct vm_area_struct *__vma, *prev; -+ struct rb_node **rb_link, *rb_parent; - - __vma = find_vma_prepare(mm, vma->vm_start,&prev, &rb_link, &rb_parent); - BUG_ON(__vma && __vma->vm_start < vma->vm_end); -@@ -909,7 +909,7 @@ void vm_stat_account(struct mm_struct *mm, unsigned long flags, - * The caller must hold down_write(current->mm->mmap_sem). - */ - --unsigned long do_mmap_pgoff(struct file * file, unsigned long addr, -+unsigned long do_mmap_pgoff(struct file *file, unsigned long addr, - unsigned long len, unsigned long prot, - unsigned long flags, unsigned long pgoff) - { -@@ -1458,7 +1458,7 @@ get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, - EXPORT_SYMBOL(get_unmapped_area); - - /* Look up the first VMA which satisfies addr < vm_end, NULL if none. */ --struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr) -+struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr) - { - struct vm_area_struct *vma = NULL; - -@@ -1501,7 +1501,7 @@ find_vma_prev(struct mm_struct *mm, unsigned long addr, - struct vm_area_struct **pprev) - { - struct vm_area_struct *vma = NULL, *prev = NULL; -- struct rb_node * rb_node; -+ struct rb_node *rb_node; - if (!mm) - goto out; - -@@ -1535,7 +1535,7 @@ out: - * update accounting. This is shared with both the - * grow-up and grow-down cases. - */ --static int acct_stack_growth(struct vm_area_struct * vma, unsigned long size, unsigned long grow) -+static int acct_stack_growth(struct vm_area_struct *vma, unsigned long size, unsigned long grow) - { - struct mm_struct *mm = vma->vm_mm; - struct rlimit *rlim = current->signal->rlim; --- -1.5.6.5 diff --git a/a/content_digest b/N1/content_digest index 9e045f4..b010b2a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -15,81 +15,5 @@ "\01:2\0" "fn\00002-code-style.patch\0" "b\0" - ">From e968c1366585e4982f69e8ec0a27a806514676d0 Mon Sep 17 00:00:00 2001\n" - "From: ZhenwenXu <helight.xu@gmail.com>\n" - "Date: Fri, 14 Nov 2008 22:14:32 +0800\n" - "Subject: [PATCH] code style\n" - "\n" - "\n" - "Signed-off-by: ZhenwenXu <helight.xu@gmail.com>\n" - "---\n" - " mm/mmap.c | 16 ++++++++--------\n" - " 1 files changed, 8 insertions(+), 8 deletions(-)\n" - "\n" - "diff --git a/mm/mmap.c b/mm/mmap.c\n" - "index e7a5a68..5750480 100644\n" - "--- a/mm/mmap.c\n" - "+++ b/mm/mmap.c\n" - "@@ -412,7 +412,7 @@ void __vma_link_rb(struct mm_struct *mm, struct vm_area_struct *vma,\n" - " \n" - " static inline void __vma_link_file(struct vm_area_struct *vma)\n" - " {\n" - "-\tstruct file * file;\n" - "+\tstruct file *file;\n" - " \n" - " \tfile = vma->vm_file;\n" - " \tif (file) {\n" - "@@ -474,10 +474,10 @@ static void vma_link(struct mm_struct *mm, struct vm_area_struct *vma,\n" - " * but it has already been inserted into prio_tree earlier.\n" - " */\n" - " static void\n" - "-__insert_vm_struct(struct mm_struct * mm, struct vm_area_struct * vma)\n" - "+__insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma)\n" - " {\n" - "-\tstruct vm_area_struct * __vma, * prev;\n" - "-\tstruct rb_node ** rb_link, * rb_parent;\n" - "+\tstruct vm_area_struct *__vma, *prev;\n" - "+\tstruct rb_node **rb_link, *rb_parent;\n" - " \n" - " \t__vma = find_vma_prepare(mm, vma->vm_start,&prev, &rb_link, &rb_parent);\n" - " \tBUG_ON(__vma && __vma->vm_start < vma->vm_end);\n" - "@@ -909,7 +909,7 @@ void vm_stat_account(struct mm_struct *mm, unsigned long flags,\n" - " * The caller must hold down_write(current->mm->mmap_sem).\n" - " */\n" - " \n" - "-unsigned long do_mmap_pgoff(struct file * file, unsigned long addr,\n" - "+unsigned long do_mmap_pgoff(struct file *file, unsigned long addr,\n" - " \t\t\tunsigned long len, unsigned long prot,\n" - " \t\t\tunsigned long flags, unsigned long pgoff)\n" - " {\n" - "@@ -1458,7 +1458,7 @@ get_unmapped_area(struct file *file, unsigned long addr, unsigned long len,\n" - " EXPORT_SYMBOL(get_unmapped_area);\n" - " \n" - " /* Look up the first VMA which satisfies addr < vm_end, NULL if none. */\n" - "-struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr)\n" - "+struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr)\n" - " {\n" - " \tstruct vm_area_struct *vma = NULL;\n" - " \n" - "@@ -1501,7 +1501,7 @@ find_vma_prev(struct mm_struct *mm, unsigned long addr,\n" - " \t\t\tstruct vm_area_struct **pprev)\n" - " {\n" - " \tstruct vm_area_struct *vma = NULL, *prev = NULL;\n" - "-\tstruct rb_node * rb_node;\n" - "+\tstruct rb_node *rb_node;\n" - " \tif (!mm)\n" - " \t\tgoto out;\n" - " \n" - "@@ -1535,7 +1535,7 @@ out:\n" - " * update accounting. This is shared with both the\n" - " * grow-up and grow-down cases.\n" - " */\n" - "-static int acct_stack_growth(struct vm_area_struct * vma, unsigned long size, unsigned long grow)\n" - "+static int acct_stack_growth(struct vm_area_struct *vma, unsigned long size, unsigned long grow)\n" - " {\n" - " \tstruct mm_struct *mm = vma->vm_mm;\n" - " \tstruct rlimit *rlim = current->signal->rlim;\n" - "-- \n" - 1.5.6.5 -0755b20da2aa4284110ce6e5aee275d52d43b0144732d8e524549698c715694e +2aa665bee707ccd002bbb15bac5a92db91d85872d1b80a25900a8814ed2f59a6
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.