WARNING: line length of 88 exceeds 80 columns #132: FILE: tools/lib/bpf/libbpf.c:3979: + memcpy(obj->jumptables_data, data->d_buf, data->d_size); WARNING: line length of 81 exceeds 80 columns #159: FILE: tools/lib/bpf/libbpf.c:6194: +static int find_jt_map(struct bpf_object *obj, struct bpf_program *prog, int off) WARNING: line length of 92 exceeds 80 columns #177: FILE: tools/lib/bpf/libbpf.c:6212: +static int add_jt_map(struct bpf_object *obj, struct bpf_program *prog, int off, int map_fd) CHECK: spaces preferred around that '/' (ctx:VxV) #236: FILE: tools/lib/bpf/libbpf.c:6271: + xlated_off = jt[i]/sizeof(struct bpf_insn) + adjust_off; ^ WARNING: line length of 95 exceeds 80 columns #277: FILE: tools/lib/bpf/libbpf.c:6312: + return prog->subprogs[i].sub_insn_off - prog->subprogs[i].sec_insn_off; CHECK: Please don't use multiple blank lines #283: FILE: tools/lib/bpf/libbpf.c:6318: + + WARNING: line length of 88 exceeds 80 columns #294: FILE: tools/lib/bpf/libbpf.c:6413: + map_fd = create_jt_map(obj, prog, relo->sym_off, relo->sym_size, WARNING: line length of 84 exceeds 80 columns #295: FILE: tools/lib/bpf/libbpf.c:6414: + jt_adjust_off(prog, relo->insn_idx)); CHECK: Alignment should match open parenthesis #298: FILE: tools/lib/bpf/libbpf.c:6417: + 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 #313: FILE: tools/lib/bpf/libbpf.c:6622: +static int save_subprog_offsets(struct bpf_program *main_prog, struct bpf_program *subprog) WARNING: line length of 96 exceeds 80 columns #410: FILE: tools/lib/bpf/linker.c:2280: + } else if (strcmp(src_sec->sec_name, JUMPTABLES_REL_SEC) != 0) { total: 0 errors, 8 warnings, 3 checks, 355 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 aa35dabcb76e ("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 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, 355 lines checked