WARNING: line length of 92 exceeds 80 columns #50: FILE: kernel/bpf/trampoline.c:37: +static struct bpf_trampoline *direct_ops_ip_lookup(struct ftrace_ops *ops, unsigned long ip) WARNING: line length of 92 exceeds 80 columns #67: FILE: kernel/bpf/trampoline.c:54: +static struct bpf_trampoline *direct_ops_ip_lookup(struct ftrace_ops *ops, unsigned long ip) CHECK: No space is necessary after a cast #113: FILE: kernel/bpf/trampoline.c:190: + unsigned long ip, addr = (unsigned long) ptr; WARNING: line length of 88 exceeds 80 columns #153: FILE: kernel/bpf/trampoline.c:230: +static int direct_ops_mod(struct bpf_trampoline *tr, void *addr, bool lock_direct_mutex) WARNING: line length of 82 exceeds 80 columns #159: FILE: kernel/bpf/trampoline.c:236: + err = update_ftrace_direct_mod(tr->fops, hash, lock_direct_mutex); CHECK: No space is necessary after a cast #190: FILE: kernel/bpf/trampoline.c:267: + unsigned long addr = (unsigned long) ptr; WARNING: line length of 87 exceeds 80 columns #208: FILE: kernel/bpf/trampoline.c:285: +static int direct_ops_mod(struct bpf_trampoline *tr, void *ptr, bool lock_direct_mutex) CHECK: No space is necessary after a cast #210: FILE: kernel/bpf/trampoline.c:287: + unsigned long addr = (unsigned long) ptr; total: 0 errors, 5 warnings, 3 checks, 276 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 354d7b037ed2 ("bpf,x86: Use single ftrace_ops for direct calls") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 3 checks, 276 lines checked