]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-vm_unmapped_area-lookup-function-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Nov 2012 03:04:24 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Nov 2012 04:17:07 +0000 (15:17 +1100)
WARNING: labels should not be indented
#127: FILE: mm/mmap.c:1549:
+ check_current:

WARNING: labels should not be indented
#229: FILE: mm/mmap.c:1651:
+ check_current:

total: 0 errors, 2 warnings, 386 lines checked

./patches/mm-vm_unmapped_area-lookup-function.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Michel Lespinasse <walken@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mmap.c

index 12622a42c229c60128fec10492574fd17acce48c..d12c69eaf23feb00704f2985aded210f168ad869 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1563,7 +1563,7 @@ unsigned long unmapped_area(struct vm_unmapped_area_info *info)
                }
 
                gap_start = vma->vm_prev ? vma->vm_prev->vm_end : 0;
-       check_current:
+check_current:
                /* Check if current node has a suitable gap */
                if (gap_start > high_limit)
                        return -ENOMEM;
@@ -1665,7 +1665,7 @@ unsigned long unmapped_area_topdown(struct vm_unmapped_area_info *info)
                        }
                }
 
-       check_current:
+check_current:
                /* Check if current node has a suitable gap */
                gap_end = vma->vm_start;
                if (gap_end < low_limit)