WARNING: line length of 81 exceeds 80 columns #130: FILE: include/linux/bpf.h:3807: +void bpf_prog_update_insn_ptrs(struct bpf_prog *prog, u32 *offsets, void *image); WARNING: line length of 103 exceeds 80 columns #159: 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 #162: 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) #199: FILE: include/uapi/linux/bpf.h:7670: + __u32 :32; ^ WARNING: line length of 94 exceeds 80 columns #293: FILE: kernel/bpf/bpf_insn_array.c:72: +static long insn_array_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) CHECK: Alignment should match open parenthesis #320: FILE: kernel/bpf/bpf_insn_array.c:99: +static int insn_array_check_btf(const struct bpf_map *map, + const struct btf *btf, WARNING: line length of 84 exceeds 80 columns #378: FILE: kernel/bpf/bpf_insn_array.c:157: + if (prog->insnsi[off-1].code == (BPF_LD | BPF_DW | BPF_IMM)) CHECK: spaces preferred around that '-' (ctx:VxV) #378: FILE: kernel/bpf/bpf_insn_array.c:157: + if (prog->insnsi[off-1].code == (BPF_LD | BPF_DW | BPF_IMM)) ^ WARNING: line length of 81 exceeds 80 columns #504: FILE: kernel/bpf/bpf_insn_array.c:283: + insn_array->ips[j] = (long)(image + offsets[xlated_off]); WARNING: line length of 81 exceeds 80 columns #530: 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 #575: FILE: kernel/bpf/verifier.c:20559: + verbose(env, "Failed to properly initialize insn array\n"); WARNING: line length of 91 exceeds 80 columns #607: FILE: kernel/bpf/verifier.c:20830: +static void adjust_insn_arrays_after_remove(struct bpf_verifier_env *env, u32 off, u32 len) WARNING: line length of 86 exceeds 80 columns #612: FILE: kernel/bpf/verifier.c:20835: + bpf_insn_array_adjust_after_remove(env->insn_array_maps[i], off, len); ERROR: space prohibited before that ':' (ctx:WxV) #677: FILE: tools/include/uapi/linux/bpf.h:7670: + __u32 :32; ^ total: 2 errors, 10 warnings, 2 checks, 526 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 eae91e9e75c5 ("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.