WARNING: line length of 81 exceeds 80 columns #124: 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 #153: 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 #156: 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) #193: FILE: include/uapi/linux/bpf.h:7670: + __u32 :32; ^ WARNING: line length of 94 exceeds 80 columns #292: 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 #319: 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 #377: 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) #377: 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 #501: FILE: kernel/bpf/bpf_insn_array.c:286: + insn_array->ips[j] = (long)(image + offsets[xlated_off]); WARNING: line length of 81 exceeds 80 columns #527: 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 #572: FILE: kernel/bpf/verifier.c:20559: + verbose(env, "Failed to properly initialize insn array\n"); WARNING: line length of 91 exceeds 80 columns #604: 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 #609: 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) #674: FILE: tools/include/uapi/linux/bpf.h:7670: + __u32 :32; ^ total: 2 errors, 10 warnings, 2 checks, 523 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 1ba8ac07d89c ("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.