WARNING: line length of 89 exceeds 80 columns #28: FILE: include/linux/ftrace.h:539: +int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr); WARNING: line length of 90 exceeds 80 columns #29: FILE: include/linux/ftrace.h:540: +int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, WARNING: line length of 111 exceeds 80 columns #33: FILE: include/linux/ftrace.h:542: +int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, bool lock_direct_mutex); WARNING: line length of 102 exceeds 80 columns #42: FILE: include/linux/ftrace.h:556: +static inline int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr) CHECK: Please use a blank line after function/struct/union/enum declarations #42: FILE: include/linux/ftrace.h:556: } +static inline int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr) WARNING: line length of 104 exceeds 80 columns #47: FILE: include/linux/ftrace.h:560: +static inline int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, CHECK: Please use a blank line after function/struct/union/enum declarations #47: FILE: include/linux/ftrace.h:560: } +static inline int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, WARNING: line length of 124 exceeds 80 columns #57: FILE: include/linux/ftrace.h:565: +static inline int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, bool lock_direct_mutex) CHECK: Please use a blank line after function/struct/union/enum declarations #57: FILE: include/linux/ftrace.h:565: } +static inline int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, bool lock_direct_mutex) WARNING: line length of 100 exceeds 80 columns #70: FILE: kernel/bpf/trampoline.c:184: + ret = unregister_ftrace_direct(tr->fops, (unsigned long) ip, (long)old_addr, false); CHECK: No space is necessary after a cast #70: FILE: kernel/bpf/trampoline.c:184: + ret = unregister_ftrace_direct(tr->fops, (unsigned long) ip, (long)old_addr, false); WARNING: line length of 108 exceeds 80 columns #82: FILE: kernel/bpf/trampoline.c:198: + ret = modify_ftrace_direct(tr->fops, (unsigned long) ip, (long)new_addr, lock_direct_mutex); CHECK: No space is necessary after a cast #82: FILE: kernel/bpf/trampoline.c:198: + ret = modify_ftrace_direct(tr->fops, (unsigned long) ip, (long)new_addr, lock_direct_mutex); WARNING: line length of 90 exceeds 80 columns #92: FILE: kernel/bpf/trampoline.c:220: + ret = register_ftrace_direct(tr->fops, (unsigned long)ip, (long)new_addr); WARNING: line length of 88 exceeds 80 columns #163: FILE: kernel/trace/ftrace.c:5970: +int register_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr) WARNING: line length of 90 exceeds 80 columns #261: FILE: kernel/trace/ftrace.c:6000: +int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, WARNING: line length of 110 exceeds 80 columns #380: FILE: kernel/trace/ftrace.c:6033: +int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long ip, unsigned long addr, bool lock_direct_mutex) WARNING: line length of 82 exceeds 80 columns #411: FILE: kernel/trace/trace_selftest.c:1138: + ret = register_ftrace_direct(&direct, (unsigned long)DYN_FTRACE_TEST_NAME, WARNING: line length of 84 exceeds 80 columns #420: FILE: kernel/trace/trace_selftest.c:1161: + ret = unregister_ftrace_direct(&direct, (unsigned long)DYN_FTRACE_TEST_NAME, total: 0 errors, 14 warnings, 5 checks, 378 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 abbc67731e6e ("ftrace: Use direct hash interface in direct functions") 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, 14 warnings, 5 checks, 378 lines checked