CHECK: Lines should not end with a '(' #107: FILE: arch/x86/kernel/uprobes.c:313: +asm ( WARNING: externs should be avoided in .c files #131: FILE: arch/x86/kernel/uprobes.c:337: +extern u8 uretprobe_syscall_entry[]; WARNING: externs should be avoided in .c files #132: FILE: arch/x86/kernel/uprobes.c:338: +extern u8 uretprobe_syscall_check[]; WARNING: externs should be avoided in .c files #133: FILE: arch/x86/kernel/uprobes.c:339: +extern u8 uretprobe_syscall_end[]; WARNING: line length of 84 exceeds 80 columns #169: FILE: arch/x86/kernel/uprobes.c:375: + err = copy_from_user(r11_cx_ax, (void __user *)regs->sp, sizeof(r11_cx_ax)); WARNING: line length of 82 exceeds 80 columns #205: FILE: arch/x86/kernel/uprobes.c:411: + err = copy_to_user((void __user *)regs->sp, r11_cx_ax, sizeof(r11_cx_ax)); CHECK: extern prototypes should be avoided in .h files #231: FILE: include/linux/uprobes.h:141: +extern void uprobe_handle_trampoline(struct pt_regs *regs); CHECK: extern prototypes should be avoided in .h files #232: FILE: include/linux/uprobes.h:142: +extern void *arch_uprobe_trampoline(unsigned long *psize); CHECK: extern prototypes should be avoided in .h files #233: FILE: include/linux/uprobes.h:143: +extern unsigned long uprobe_get_trampoline_vaddr(void); total: 0 errors, 5 warnings, 4 checks, 200 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 fb072586d84e ("uprobe: Add uretprobe syscall to speed up return probe") 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, 5 warnings, 4 checks, 200 lines checked