From: Andrew Morton Date: Fri, 9 Nov 2012 03:04:24 +0000 (+1100) Subject: mm-vm_unmapped_area-lookup-function-checkpatch-fixes X-Git-Tag: next-20121112~5^2~176 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ced3524cd693855f1d9c87417d08e499e4e75f39;p=karo-tx-linux.git mm-vm_unmapped_area-lookup-function-checkpatch-fixes 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 Signed-off-by: Andrew Morton --- diff --git a/mm/mmap.c b/mm/mmap.c index 12622a42c229..d12c69eaf23f 100644 --- 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)