From ced3524cd693855f1d9c87417d08e499e4e75f39 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 9 Nov 2012 14:04:24 +1100 Subject: [PATCH] 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 --- mm/mmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5