Commit d361a56
mm-introduce-vm_lockonfault-checkpatch-fixes
WARNING: line over 80 characters
torvalds#103: FILE: include/linux/mm.h:132:
+#define VM_LOCKONFAULT 0x00001000 /* Lock the pages covered when they are faulted in */
WARNING: line over 80 characters
torvalds#195: FILE: mm/hugetlb.c:3768:
+ unsigned long svm_flags = svma->vm_flags & ~(VM_LOCKED | VM_LOCKONFAULT);
WARNING: line over 80 characters
torvalds#231: FILE: mm/rmap.c:747:
+ pra->vm_flags |= (vma->vm_flags & (VM_LOCKED | VM_LOCKONFAULT));
WARNING: line over 80 characters
torvalds#240: FILE: mm/rmap.c:768:
+ pra->vm_flags |= (vma->vm_flags & (VM_LOCKED | VM_LOCKONFAULT));
total: 0 errors, 4 warnings, 138 lines checked
./patches/mm-introduce-vm_lockonfault.patch has style problems, please review.
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
Cc: Eric B Munson <emunson@akamai.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>1 parent f95de70 commit d361a56
2 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3764 | 3764 | | |
3765 | 3765 | | |
3766 | 3766 | | |
3767 | | - | |
3768 | | - | |
| 3767 | + | |
| 3768 | + | |
3769 | 3769 | | |
3770 | 3770 | | |
3771 | 3771 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
747 | | - | |
| 747 | + | |
| 748 | + | |
748 | 749 | | |
749 | 750 | | |
750 | 751 | | |
| |||
765 | 766 | | |
766 | 767 | | |
767 | 768 | | |
768 | | - | |
| 769 | + | |
| 770 | + | |
769 | 771 | | |
770 | 772 | | |
771 | 773 | | |
| |||
0 commit comments