WARNING: line length of 81 exceeds 80 columns #47: FILE: arch/arm64/net/bpf_jit_comp.c:1082: + * - OFFSET (16 bits): Offset used to compute address for Load/Store instruction. WARNING: line length of 91 exceeds 80 columns #48: FILE: arch/arm64/net/bpf_jit_comp.c:1083: + * - ARENA_REG (5 bits): Register that is used to calculate the address for load/store when WARNING: line length of 99 exceeds 80 columns #50: FILE: arch/arm64/net/bpf_jit_comp.c:1085: + * - ARENA_ACCESS (1 bit): This bit is set when the faulting instruction accessed the arena region. WARNING: line length of 99 exceeds 80 columns #51: FILE: arch/arm64/net/bpf_jit_comp.c:1086: + * - FIXUP_REG (5 bits): Destination register for the load instruction (cleared on fault) or set to WARNING: line length of 97 exceeds 80 columns #111: FILE: arch/arm64/net/bpf_jit_comp.c:1178: + * insn->src_reg/dst_reg holds the address in the arena region with upper 32-bits WARNING: line length of 97 exceeds 80 columns #112: FILE: arch/arm64/net/bpf_jit_comp.c:1179: + * being zero because of a preceding addr_space_cast(r, 0x0, 0x1) instruction. WARNING: line length of 88 exceeds 80 columns #113: FILE: arch/arm64/net/bpf_jit_comp.c:1180: + * This address is adjusted with the addition of arena_vm_start (see the WARNING: line length of 100 exceeds 80 columns #114: FILE: arch/arm64/net/bpf_jit_comp.c:1181: + * implementation of BPF_PROBE_MEM32 and BPF_PROBE_ATOMIC) before being used for the WARNING: line length of 87 exceeds 80 columns #115: FILE: arch/arm64/net/bpf_jit_comp.c:1182: + * memory access. Pass the reg holding the unmodified 32-bit address to WARNING: line length of 91 exceeds 80 columns #159: FILE: arch/x86/net/bpf_jit_comp.c:1405: + * - INSN_LEN (8 bits): Length of faulting insn (max x86 insn = 15 bytes (fits in 8 bits)). WARNING: line length of 97 exceeds 80 columns #160: FILE: arch/x86/net/bpf_jit_comp.c:1406: + * - DST_REG (8 bits): Offset of dst_reg from reg2pt_regs[] (max offset = 112 (fits in 8 bits)). WARNING: line length of 99 exceeds 80 columns #164: FILE: arch/x86/net/bpf_jit_comp.c:1410: + * - ARENA_ACCESS (1 bit): This bit is set when the faulting instruction accessed the arena region. WARNING: line length of 85 exceeds 80 columns #174: FILE: arch/x86/net/bpf_jit_comp.c:1420: + * - ARENA_OFFSET (16 bits): Offset used to calculate the address for load/store when WARNING: line length of 99 exceeds 80 columns #227: FILE: arch/x86/net/bpf_jit_comp.c:2146: + * src_reg/dst_reg holds the address in the arena region with upper WARNING: line length of 98 exceeds 80 columns #228: FILE: arch/x86/net/bpf_jit_comp.c:2147: + * 32-bits being zero because of a preceding addr_space_cast(r, WARNING: line length of 100 exceeds 80 columns #229: FILE: arch/x86/net/bpf_jit_comp.c:2148: + * 0x0, 0x1) instruction. This address is adjusted with the addition WARNING: line length of 99 exceeds 80 columns #230: FILE: arch/x86/net/bpf_jit_comp.c:2149: + * of arena_vm_start (see the implementation of BPF_PROBE_MEM32 and WARNING: line length of 98 exceeds 80 columns #231: FILE: arch/x86/net/bpf_jit_comp.c:2150: + * BPF_PROBE_ATOMIC) before being used for the memory access. Pass WARNING: line length of 83 exceeds 80 columns #232: FILE: arch/x86/net/bpf_jit_comp.c:2151: + * the reg holding the unmodified 32-bit address to WARNING: line length of 98 exceeds 80 columns #243: FILE: arch/x86/net/bpf_jit_comp.c:2162: + ex->fixup = FIELD_PREP(FIXUP_INSN_LEN_MASK, prog - start_of_ldx) | WARNING: line length of 89 exceeds 80 columns #244: FILE: arch/x86/net/bpf_jit_comp.c:2163: + FIELD_PREP(FIXUP_ARENA_REG_MASK, arena_reg) | WARNING: line length of 82 exceeds 80 columns #245: FILE: arch/x86/net/bpf_jit_comp.c:2164: + FIELD_PREP(FIXUP_REG_MASK, fixup_reg); WARNING: line length of 90 exceeds 80 columns #248: FILE: arch/x86/net/bpf_jit_comp.c:2167: + ex->data |= FIELD_PREP(DATA_ARENA_OFFSET_MASK, insn->off); WARNING: line length of 98 exceeds 80 columns #257: FILE: arch/x86/net/bpf_jit_comp.c:2285: + ex->fixup = FIELD_PREP(FIXUP_INSN_LEN_MASK, prog - start_of_ldx) | WARNING: line length of 93 exceeds 80 columns #258: FILE: arch/x86/net/bpf_jit_comp.c:2286: + FIELD_PREP(FIXUP_REG_MASK, reg2pt_regs[dst_reg]); WARNING: line length of 93 exceeds 80 columns #270: FILE: include/linux/bpf.h:2884: +void bpf_prog_report_arena_violation(bool write, unsigned long addr, unsigned long fault_ip); WARNING: line length of 82 exceeds 80 columns #279: FILE: include/linux/bpf.h:3173: +static inline void bpf_prog_report_arena_violation(bool write, unsigned long addr, WARNING: line length of 92 exceeds 80 columns #295: FILE: kernel/bpf/arena.c:637: +void bpf_prog_report_arena_violation(bool write, unsigned long addr, unsigned long fault_ip) total: 0 errors, 28 warnings, 0 checks, 269 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 4553245f5182 ("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, 28 warnings, 0 checks, 269 lines checked