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 #121: FILE: kernel/bpf/trampoline.c:198: + if (!add_hash_entry_direct(hash, ip, (unsigned long) addr)) { WARNING: line length of 103 exceeds 80 columns #150: FILE: kernel/bpf/trampoline.c:227: +static int direct_ops_mod(struct ftrace_ops *ops, unsigned long ip, void *addr, bool lock_direct_mutex) WARNING: line length of 103 exceeds 80 columns #200: FILE: kernel/bpf/trampoline.c:277: +static int direct_ops_mod(struct ftrace_ops *ops, unsigned long ip, void *addr, bool lock_direct_mutex) WARNING: line length of 84 exceeds 80 columns #247: FILE: kernel/bpf/trampoline.c:349: + ret = direct_ops_mod(tr->fops, tr->ip, new_addr, lock_direct_mutex); total: 0 errors, 5 warnings, 1 checks, 253 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 1d62ac5022e4 ("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, 1 checks, 253 lines checked