WARNING: line length of 88 exceeds 80 columns #138: FILE: tools/lib/bpf/libbpf.c:3981: + memcpy(obj->jumptables_data, data->d_buf, data->d_size); WARNING: line length of 85 exceeds 80 columns #165: FILE: tools/lib/bpf/libbpf.c:6196: +static int find_jt_map(struct bpf_object *obj, struct bpf_program *prog, int sym_off) WARNING: line length of 96 exceeds 80 columns #183: FILE: tools/lib/bpf/libbpf.c:6214: +static int add_jt_map(struct bpf_object *obj, struct bpf_program *prog, int sym_off, int map_fd) CHECK: spaces preferred around that '/' (ctx:VxV) #255: FILE: tools/lib/bpf/libbpf.c:6286: + insn_off = jt[i]/sizeof(struct bpf_insn) + adjust_off; ^ WARNING: line length of 95 exceeds 80 columns #296: FILE: tools/lib/bpf/libbpf.c:6327: + return prog->subprogs[i].sub_insn_off - prog->subprogs[i].sec_insn_off; CHECK: Please don't use multiple blank lines #302: FILE: tools/lib/bpf/libbpf.c:6333: + + WARNING: line length of 88 exceeds 80 columns #313: FILE: tools/lib/bpf/libbpf.c:6428: + map_fd = create_jt_map(obj, prog, relo->sym_off, relo->sym_size, WARNING: line length of 84 exceeds 80 columns #314: FILE: tools/lib/bpf/libbpf.c:6429: + jt_adjust_off(prog, relo->insn_idx)); CHECK: Alignment should match open parenthesis #317: FILE: tools/lib/bpf/libbpf.c:6432: + pr_warn("prog '%s': relo #%d: can't create jump table: sym_off %u\n", + prog->name, i, relo->sym_off); WARNING: line length of 91 exceeds 80 columns #332: FILE: tools/lib/bpf/libbpf.c:6637: +static int save_subprog_offsets(struct bpf_program *main_prog, struct bpf_program *subprog) WARNING: line length of 96 exceeds 80 columns #429: FILE: tools/lib/bpf/linker.c:2279: + } else if (strcmp(src_sec->sec_name, JUMPTABLES_REL_SEC) != 0) { total: 0 errors, 8 warnings, 3 checks, 374 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 3b5ec74034f7 ("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, 8 warnings, 3 checks, 374 lines checked