WARNING: line length of 106 exceeds 80 columns #42: FILE: tools/lib/bpf/bpf.c:795: + attr.link_create.tracing_multi.btf_ids = (__u64) OPTS_GET(opts, tracing_multi.btf_ids, 0); CHECK: No space is necessary after a cast #42: FILE: tools/lib/bpf/bpf.c:795: + attr.link_create.tracing_multi.btf_ids = (__u64) OPTS_GET(opts, tracing_multi.btf_ids, 0); WARNING: line length of 106 exceeds 80 columns #43: FILE: tools/lib/bpf/bpf.c:796: + attr.link_create.tracing_multi.btf_ids_cnt = OPTS_GET(opts, tracing_multi.btf_ids_cnt, 0); WARNING: line length of 101 exceeds 80 columns #90: FILE: tools/lib/bpf/libbpf.c:9820: +static int attach_tracing_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link); WARNING: line length of 98 exceeds 80 columns #98: FILE: tools/lib/bpf/libbpf.c:9869: + SEC_DEF("fentry.multi+", TRACING, BPF_TRACE_FENTRY_MULTI, 0, attach_tracing_multi), WARNING: line length of 97 exceeds 80 columns #99: FILE: tools/lib/bpf/libbpf.c:9870: + SEC_DEF("fexit.multi+", TRACING, BPF_TRACE_FEXIT_MULTI, 0, attach_tracing_multi), WARNING: line length of 86 exceeds 80 columns #108: FILE: tools/lib/bpf/libbpf.c:12247: +bpf_program__attach_tracing_multi(const struct bpf_program *prog, const char *pattern, WARNING: line length of 83 exceeds 80 columns #129: FILE: tools/lib/bpf/libbpf.c:12268: + cnt = btf__find_by_glob_kind(prog->obj->btf_vmlinux, BTF_KIND_FUNC, WARNING: line length of 82 exceeds 80 columns #145: FILE: tools/lib/bpf/libbpf.c:12284: + link_fd = bpf_link_create(prog_fd, 0, prog->expected_attach_type, &lopts); WARNING: line length of 86 exceeds 80 columns #148: FILE: tools/lib/bpf/libbpf.c:12287: + pr_warn("prog '%s': failed to attach: %s\n", prog->name, errstr(err)); WARNING: line length of 100 exceeds 80 columns #160: FILE: tools/lib/bpf/libbpf.c:12299: +static int attach_tracing_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link) ERROR: space prohibited before that ':' (ctx:WxV) #204: FILE: tools/lib/bpf/libbpf.h:709: + size_t :0; ^ WARNING: line length of 86 exceeds 80 columns #210: FILE: tools/lib/bpf/libbpf.h:715: +bpf_program__attach_tracing_multi(const struct bpf_program *prog, const char *pattern, total: 1 errors, 11 warnings, 1 checks, 167 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 9ee03ea6ccd5 ("libbpf: Add support to create tracing multi link") 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.