WARNING: line length of 88 exceeds 80 columns #131: 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 #158: 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 #176: 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 #210: FILE: tools/lib/bpf/libbpf.c:6247: +static int create_jt_map(struct bpf_object *obj, struct bpf_program *prog, struct reloc_desc *relo) CHECK: spaces preferred around that '/' (ctx:VxV) #263: FILE: tools/lib/bpf/libbpf.c:6300: + insn_off = jt[i]/sizeof(struct bpf_insn); ^ CHECK: Alignment should match open parenthesis #322: FILE: tools/lib/bpf/libbpf.c:6443: + 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 #337: 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 #446: FILE: tools/lib/bpf/linker.c:2278: + } else if (strcmp(src_sec->sec_name, JUMPTABLES_REL_SEC) != 0) { total: 0 errors, 6 warnings, 2 checks, 386 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 6b1f20e457dd ("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, 6 warnings, 2 checks, 386 lines checked