WARNING: line length of 86 exceeds 80 columns #108: FILE: arch/x86/net/bpf_jit_comp.c:3656: +static void update_insn_ptr(void *jit_priv, u32 xlated_off, u32 *jitted_off, long *ip) WARNING: line length of 84 exceeds 80 columns #135: FILE: arch/x86/net/bpf_jit_comp.c:3848: + /* jit_data may not contain proper info, copy the required fields */ WARNING: line length of 82 exceeds 80 columns #138: FILE: arch/x86/net/bpf_jit_comp.c:3851: + bpf_prog_update_insn_ptrs(prog, &insn_ptrs_data, update_insn_ptr); WARNING: line length of 98 exceeds 80 columns #157: FILE: include/linux/bpf.h:3798: +typedef void (*update_insn_ptr_func_t)(void *jit_priv, u32 xlated_off, u32 *jitted_off, long *ip); WARNING: line length of 103 exceeds 80 columns #191: FILE: include/linux/bpf_verifier.h:757: + 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 #194: FILE: include/linux/bpf_verifier.h:760: + u32 insn_array_map_cnt; /* number of used maps of type BPF_MAP_TYPE_INSN_ARRAY */ ERROR: space prohibited before that ':' (ctx:WxV) #231: FILE: include/uapi/linux/bpf.h:7666: + __u32 :32; ^ WARNING: line length of 94 exceeds 80 columns #330: FILE: kernel/bpf/bpf_insn_array.c:77: +static long insn_array_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) CHECK: Alignment should match open parenthesis #357: FILE: kernel/bpf/bpf_insn_array.c:104: +static int insn_array_check_btf(const struct bpf_map *map, + const struct btf *btf, WARNING: line length of 84 exceeds 80 columns #415: FILE: kernel/bpf/bpf_insn_array.c:162: + if (prog->insnsi[off-1].code == (BPF_LD | BPF_DW | BPF_IMM)) CHECK: spaces preferred around that '-' (ctx:VxV) #415: FILE: kernel/bpf/bpf_insn_array.c:162: + if (prog->insnsi[off-1].code == (BPF_LD | BPF_DW | BPF_IMM)) ^ WARNING: line length of 81 exceeds 80 columns #560: 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 #605: FILE: kernel/bpf/verifier.c:20549: + verbose(env, "Failed to properly initialize insn array\n"); WARNING: line length of 91 exceeds 80 columns #637: FILE: kernel/bpf/verifier.c:20820: +static void adjust_insn_arrays_after_remove(struct bpf_verifier_env *env, u32 off, u32 len) WARNING: line length of 86 exceeds 80 columns #642: FILE: kernel/bpf/verifier.c:20825: + bpf_insn_array_adjust_after_remove(env->insn_array_maps[i], off, len); ERROR: space prohibited before that ':' (ctx:WxV) #707: 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 6031d524d6e0 ("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.