WARNING: line length of 83 exceeds 80 columns #115: FILE: arch/x86/net/bpf_jit_comp.c:2760: + bpf_prog_update_insn_ptr(bpf_prog, abs_xlated_off, proglen, WARNING: line length of 103 exceeds 80 columns #185: FILE: include/linux/bpf_verifier.h:748: + struct bpf_map *insn_array_maps[MAX_USED_MAPS]; /* array of INSN_ARRAY map's to be relocated */ WARNING: line length of 97 exceeds 80 columns #188: FILE: include/linux/bpf_verifier.h:751: + u32 insn_array_map_cnt; /* number of used maps of type BPF_MAP_TYPE_INSN_ARRAY */ ERROR: space prohibited before that ':' (ctx:WxV) #225: FILE: include/uapi/linux/bpf.h:7666: + __u32 :32; ^ WARNING: line length of 94 exceeds 80 columns #328: FILE: kernel/bpf/bpf_insn_array.c:81: +static long insn_array_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) CHECK: Alignment should match open parenthesis #355: FILE: kernel/bpf/bpf_insn_array.c:108: +static int insn_array_check_btf(const struct bpf_map *map, + const struct btf *btf, WARNING: line length of 84 exceeds 80 columns #417: FILE: kernel/bpf/bpf_insn_array.c:170: + if (prog->insnsi[off-1].code == (BPF_LD | BPF_DW | BPF_IMM)) CHECK: spaces preferred around that '-' (ctx:VxV) #417: FILE: kernel/bpf/bpf_insn_array.c:170: + if (prog->insnsi[off-1].code == (BPF_LD | BPF_DW | BPF_IMM)) ^ WARNING: line length of 81 exceeds 80 columns #506: FILE: kernel/bpf/bpf_insn_array.c:259: + insn_array->ptrs[i].user_value.xlated_off = INSN_DELETED; WARNING: line length of 86 exceeds 80 columns #528: FILE: kernel/bpf/bpf_insn_array.c:281: + if (insn_array->ptrs[j].user_value.xlated_off == xlated_off) { WARNING: line length of 87 exceeds 80 columns #531: FILE: kernel/bpf/bpf_insn_array.c:284: + insn_array->ptrs[j].user_value.jitted_off = jitted_off; WARNING: line length of 81 exceeds 80 columns #558: FILE: kernel/bpf/syscall.c:2863: + if (prog->aux->used_maps[i]->map_type != BPF_MAP_TYPE_INSN_ARRAY) WARNING: line length of 83 exceeds 80 columns #603: FILE: kernel/bpf/verifier.c:20532: + verbose(env, "Failed to properly initialize insn array\n"); WARNING: line length of 91 exceeds 80 columns #635: FILE: kernel/bpf/verifier.c:20803: +static void adjust_insn_arrays_after_remove(struct bpf_verifier_env *env, u32 off, u32 len) WARNING: line length of 86 exceeds 80 columns #640: FILE: kernel/bpf/verifier.c:20808: + bpf_insn_array_adjust_after_remove(env->insn_array_maps[i], off, len); ERROR: space prohibited before that ':' (ctx:WxV) #705: FILE: tools/include/uapi/linux/bpf.h:7666: + __u32 :32; ^ total: 2 errors, 12 warnings, 2 checks, 554 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 8f6558c2d06e ("bpf, x86: add new map type: instructions array") 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.