WARNING: line length of 87 exceeds 80 columns #54: FILE: arch/x86/net/bpf_jit_comp.c:559: + emit_priv_frame_ptr(&prog, bpf_prog, priv_stack_mode, is_subprog, image, temp); WARNING: line length of 84 exceeds 80 columns #93: FILE: arch/x86/net/bpf_jit_comp.c:1552: + emit_root_priv_frame_ptr(&prog, bpf_prog, orig_stack_depth); CHECK: No space is necessary after a cast #103: FILE: arch/x86/net/bpf_jit_comp.c:1562: + emit_mov_imm64(&prog, BPF_REG_1, (long) bpf_prog >> 32, CHECK: No space is necessary after a cast #104: FILE: arch/x86/net/bpf_jit_comp.c:1563: + (u32) (long) bpf_prog); WARNING: line length of 90 exceeds 80 columns #107: FILE: arch/x86/net/bpf_jit_comp.c:1566: + offs += x86_call_depth_emit_accounting(&prog, func, image + offs); WARNING: line length of 88 exceeds 80 columns #129: FILE: arch/x86/net/bpf_jit_comp.c:1588: + emit_alu_helper_3(&prog, BPF_ALU64 | BPF_MUL | BPF_K, BPF_REG_0, WARNING: line length of 84 exceeds 80 columns #132: FILE: arch/x86/net/bpf_jit_comp.c:1591: + emit_root_priv_frame_ptr(&prog, bpf_prog, orig_stack_depth); WARNING: line length of 89 exceeds 80 columns #135: FILE: arch/x86/net/bpf_jit_comp.c:1594: + emit_alu_helper_2(&prog, BPF_ALU64 | BPF_ADD | BPF_X, X86_REG_R9, WARNING: line length of 87 exceeds 80 columns #167: FILE: arch/x86/net/bpf_jit_comp.c:2591: + emit_mov_imm64(&prog, BPF_REG_1, (long) bpf_prog >> 32, CHECK: No space is necessary after a cast #167: FILE: arch/x86/net/bpf_jit_comp.c:2591: + emit_mov_imm64(&prog, BPF_REG_1, (long) bpf_prog >> 32, CHECK: No space is necessary after a cast #168: FILE: arch/x86/net/bpf_jit_comp.c:2592: + (u32) (long) bpf_prog); WARNING: line length of 95 exceeds 80 columns #171: FILE: arch/x86/net/bpf_jit_comp.c:2595: + offs += x86_call_depth_emit_accounting(&prog, func, ip + offs); CHECK: Unnecessary parentheses around prog->active #202: FILE: kernel/bpf/trampoline.c:965: + int cnt = this_cpu_inc_return(*(prog->active)); CHECK: Unnecessary parentheses around prog->active #213: FILE: kernel/bpf/trampoline.c:976: + this_cpu_dec(*(prog->active)); total: 0 errors, 8 warnings, 6 checks, 173 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 06f419cc0e43 ("bpf, x86: Jit support for nested bpf_prog_call") 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, 8 warnings, 6 checks, 173 lines checked