WARNING: line length of 88 exceeds 80 columns #132: FILE: tools/lib/bpf/libbpf.c:3980: + memcpy(obj->jumptables_data, data->d_buf, data->d_size); WARNING: line length of 85 exceeds 80 columns #159: FILE: tools/lib/bpf/libbpf.c:6195: +static int find_jt_map(struct bpf_object *obj, struct bpf_program *prog, int sym_off) WARNING: line length of 96 exceeds 80 columns #177: FILE: tools/lib/bpf/libbpf.c:6213: +static int add_jt_map(struct bpf_object *obj, struct bpf_program *prog, int sym_off, int map_fd) WARNING: line length of 99 exceeds 80 columns #208: FILE: tools/lib/bpf/libbpf.c:6244: +static int create_jt_map(struct bpf_object *obj, struct bpf_program *prog, struct reloc_desc *relo) WARNING: line length of 93 exceeds 80 columns #257: FILE: tools/lib/bpf/libbpf.c:6293: + pr_warn("map '.jumptables': invalid instruction index %d\n", relo->insn_idx); CHECK: spaces preferred around that '/' (ctx:VxV) #270: FILE: tools/lib/bpf/libbpf.c:6306: + insn_off = jt[i]/sizeof(struct bpf_insn); ^ WARNING: line length of 91 exceeds 80 columns #338: FILE: tools/lib/bpf/libbpf.c:6648: +static int save_subprog_offsets(struct bpf_program *main_prog, struct bpf_program *subprog) WARNING: line length of 96 exceeds 80 columns #444: FILE: tools/lib/bpf/linker.c:2278: + } else if (strcmp(src_sec->sec_name, JUMPTABLES_REL_SEC) != 0) { total: 0 errors, 7 warnings, 1 checks, 383 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 7b6bf5d3ddd2 ("libbpf: support llvm-generated indirect jumps") 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. total: 0 errors, 7 warnings, 1 checks, 383 lines checked