From 7137f449026d2617d435a7097538be41523e0d3e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 29 Nov 2012 14:17:15 +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 5a06aa0fd5a4..f940062c8d4b 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -1602,7 +1602,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; @@ -1704,7 +1704,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