CHECK: extern prototypes should be avoided in .h files #33: FILE: include/linux/mm.h:2489: +extern int copy_remote_vm_str(struct task_struct *tsk, unsigned long addr, CHECK: Alignment should match open parenthesis #34: FILE: include/linux/mm.h:2490: +extern int copy_remote_vm_str(struct task_struct *tsk, unsigned long addr, + void *buf, int len, unsigned int gup_flags); CHECK: Alignment should match open parenthesis #52: FILE: mm/memory.c:6811: +static int __copy_remote_vm_str(struct mm_struct *mm, unsigned long addr, + void *buf, int len, unsigned int gup_flags) CHECK: Alignment should match open parenthesis #114: FILE: mm/memory.c:6873: + copy_from_user_page(vma, page, addr, buf, + maddr + (PAGE_SIZE - 1), 1); CHECK: Alignment should match open parenthesis #147: FILE: mm/memory.c:6906: +int copy_remote_vm_str(struct task_struct *tsk, unsigned long addr, + void *buf, int len, unsigned int gup_flags) CHECK: Alignment should match open parenthesis #185: FILE: mm/nommu.c:1716: +static int __copy_remote_vm_str(struct mm_struct *mm, unsigned long addr, + void *buf, int len) CHECK: Alignment should match open parenthesis #234: FILE: mm/nommu.c:1765: +int copy_remote_vm_str(struct task_struct *tsk, unsigned long addr, + void *buf, int len, unsigned int gup_flags) total: 0 errors, 0 warnings, 7 checks, 219 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 78df265f4d9e ("mm: add copy_remote_vm_str") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 0 warnings, 7 checks, 219 lines checked