CHECK: Prefer using the BIT macro #26: FILE: arch/x86/net/bpf_jit_comp.c:1387: +#define ARENA_FAULT (1 << 8) WARNING: line length of 118 exceeds 80 columns #56: FILE: arch/x86/net/bpf_jit_comp.c:2058: + ((BPF_CLASS(insn->code) == BPF_LDX ? reg2pt_regs[dst_reg] : DONT_CLEAR) << 16) WARNING: line length of 129 exceeds 80 columns #57: FILE: arch/x86/net/bpf_jit_comp.c:2059: + | ((BPF_CLASS(insn->code) == BPF_LDX ? reg2pt_regs[src_reg] : reg2pt_regs[dst_reg])<< 8); CHECK: spaces preferred around that '<<' (ctx:VxW) #57: FILE: arch/x86/net/bpf_jit_comp.c:2059: + | ((BPF_CLASS(insn->code) == BPF_LDX ? reg2pt_regs[src_reg] : reg2pt_regs[dst_reg])<< 8); ^ WARNING: line length of 97 exceeds 80 columns #68: FILE: arch/x86/net/bpf_jit_comp.c:2179: + ex->fixup = (prog - start_of_ldx) | (reg2pt_regs[dst_reg] << 16); WARNING: line length of 90 exceeds 80 columns #100: FILE: kernel/bpf/arena.c:601: + if (atomic_long_fetch_add(1, &prog->aux->error_count) >= BPF_PROG_ERROR_COUNT_MAX) WARNING: line length of 90 exceeds 80 columns #102: FILE: kernel/bpf/arena.c:603: + bpf_prog_stderr_printk(prog, "ERROR: Arena %s access at unmapped address 0x%lx\n", total: 0 errors, 5 warnings, 2 checks, 71 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 7f4d50977a26 ("bpf: Report arena faults to BPF stderr") 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, 2 checks, 71 lines checked