From: Andrew Morton WARNING: line over 80 characters #240: FILE: arch/x86/mm/gup.c:163: +static int gup_pud_range(pgd_t pgd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) WARNING: line over 80 characters #259: FILE: arch/x86/mm/gup.c:182: +int get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) total: 0 errors, 2 warnings, 266 lines checked ./patches/x86-lockless-get_user_pages_fast.patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Andi Kleen Cc: Andy Whitcroft Cc: Badari Pulavarty Cc: Dave Kleikamp Cc: Ingo Molnar Cc: Jens Axboe Cc: Nick Piggin Cc: Thomas Gleixner Cc: Zach Brown Signed-off-by: Andrew Morton --- arch/x86/mm/gup.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -puN arch/x86/mm/gup.c~x86-lockless-get_user_pages_fast-checkpatch-fixes arch/x86/mm/gup.c --- a/arch/x86/mm/gup.c~x86-lockless-get_user_pages_fast-checkpatch-fixes +++ a/arch/x86/mm/gup.c @@ -160,7 +160,8 @@ static int gup_pmd_range(pud_t pud, unsi return 1; } -static int gup_pud_range(pgd_t pgd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) +static int gup_pud_range(pgd_t pgd, unsigned long addr, unsigned long end, + int write, struct page **pages, int *nr) { unsigned long next; pud_t *pudp; @@ -179,7 +180,8 @@ static int gup_pud_range(pgd_t pgd, unsi return 1; } -int get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) +int get_user_pages_fast(unsigned long start, int nr_pages, int write, + struct page **pages) { struct mm_struct *mm = current->mm; unsigned long end = start + (nr_pages << PAGE_SHIFT); _