From: Andrew Morton ERROR: code indent should use tabs where possible #209: FILE: mm/mmap.c:2358: + if (vma->anon_vma)$ ERROR: code indent should use tabs where possible #210: FILE: mm/mmap.c:2359: + vm_lock_anon_vma(vma->anon_vma);$ ERROR: code indent should use tabs where possible #211: FILE: mm/mmap.c:2360: + if (vma->vm_file && vma->vm_file->f_mapping)$ ERROR: code indent should use tabs where possible #212: FILE: mm/mmap.c:2361: + vm_lock_mapping(vma->vm_file->f_mapping);$ total: 4 errors, 0 warnings, 191 lines checked ./patches/mmu-notifiers-add-mm_take_all_locks-operation.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: "Paul E. McKenney" Cc: Andrea Arcangeli Cc: Anthony Liguori Cc: Avi Kivity Cc: Chris Wright Cc: Christoph Lameter Cc: Eric Dumazet Cc: Hugh Dickins Cc: Izik Eidus Cc: Jack Steiner Cc: Kanoj Sarcar Cc: Linus Torvalds Cc: Marcelo Tosatti Cc: Nick Piggin Cc: Peter Zijlstra Cc: Rik van Riel Cc: Robin Holt Cc: Roland Dreier Cc: Rusty Russell Cc: Steve Wise Signed-off-by: Andrew Morton --- mm/mmap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -puN mm/mmap.c~mmu-notifiers-add-mm_take_all_locks-operation-checkpatch-fixes mm/mmap.c --- a/mm/mmap.c~mmu-notifiers-add-mm_take_all_locks-operation-checkpatch-fixes +++ a/mm/mmap.c @@ -2355,10 +2355,10 @@ int mm_take_all_locks(struct mm_struct * for (vma = mm->mmap; vma; vma = vma->vm_next) { if (signal_pending(current)) goto out_unlock; - if (vma->anon_vma) - vm_lock_anon_vma(vma->anon_vma); - if (vma->vm_file && vma->vm_file->f_mapping) - vm_lock_mapping(vma->vm_file->f_mapping); + if (vma->anon_vma) + vm_lock_anon_vma(vma->anon_vma); + if (vma->vm_file && vma->vm_file->f_mapping) + vm_lock_mapping(vma->vm_file->f_mapping); } ret = 0; _