WARNING: line length of 87 exceeds 80 columns #37: FILE: tools/lib/bpf/libbpf.c:9805: +int bpf_program__clone(struct bpf_program *prog, const struct bpf_prog_load_opts *opts) WARNING: line length of 86 exceeds 80 columns #55: FILE: tools/lib/bpf/libbpf.c:9823: + OPTS_GET(opts, expected_attach_type, 0) ?: prog->expected_attach_type; WARNING: line length of 85 exceeds 80 columns #56: FILE: tools/lib/bpf/libbpf.c:9824: + attr.attach_btf_id = OPTS_GET(opts, attach_btf_id, 0) ?: prog->attach_btf_id; WARNING: line length of 97 exceeds 80 columns #57: FILE: tools/lib/bpf/libbpf.c:9825: + attr.attach_btf_obj_fd = OPTS_GET(opts, attach_btf_obj_fd, 0) ?: prog->attach_btf_obj_fd; WARNING: line length of 88 exceeds 80 columns #58: FILE: tools/lib/bpf/libbpf.c:9826: + attr.attach_prog_fd = OPTS_GET(opts, attach_prog_fd, 0) ?: prog->attach_prog_fd; WARNING: line length of 82 exceeds 80 columns #60: FILE: tools/lib/bpf/libbpf.c:9828: + attr.prog_ifindex = OPTS_GET(opts, prog_ifindex, 0) ?: prog->prog_ifindex; WARNING: line length of 81 exceeds 80 columns #61: FILE: tools/lib/bpf/libbpf.c:9829: + attr.kern_version = OPTS_GET(opts, kern_version, 0) ?: obj->kern_version; WARNING: line length of 81 exceeds 80 columns #63: FILE: tools/lib/bpf/libbpf.c:9831: + attr.fd_array_cnt = OPTS_GET(opts, fd_array_cnt, 0) ?: obj->fd_array_cnt; WARNING: line length of 87 exceeds 80 columns #70: FILE: tools/lib/bpf/libbpf.c:9838: + attr.prog_btf_fd = OPTS_GET(opts, prog_btf_fd, 0) ?: btf__fd(obj->btf); WARNING: line length of 84 exceeds 80 columns #71: FILE: tools/lib/bpf/libbpf.c:9839: + attr.func_info = OPTS_GET(opts, func_info, NULL) ?: prog->func_info; WARNING: line length of 93 exceeds 80 columns #72: FILE: tools/lib/bpf/libbpf.c:9840: + attr.func_info_cnt = OPTS_GET(opts, func_info_cnt, 0) ?: prog->func_info_cnt; WARNING: line length of 90 exceeds 80 columns #74: FILE: tools/lib/bpf/libbpf.c:9842: + OPTS_GET(opts, func_info_rec_size, 0) ?: prog->func_info_rec_size; WARNING: line length of 84 exceeds 80 columns #75: FILE: tools/lib/bpf/libbpf.c:9843: + attr.line_info = OPTS_GET(opts, line_info, NULL) ?: prog->line_info; WARNING: line length of 93 exceeds 80 columns #76: FILE: tools/lib/bpf/libbpf.c:9844: + attr.line_info_cnt = OPTS_GET(opts, line_info_cnt, 0) ?: prog->line_info_cnt; WARNING: line length of 90 exceeds 80 columns #78: FILE: tools/lib/bpf/libbpf.c:9846: + OPTS_GET(opts, line_info_rec_size, 0) ?: prog->line_info_rec_size; WARNING: line length of 94 exceeds 80 columns #87: FILE: tools/lib/bpf/libbpf.c:9855: + err = prog->sec_def->prog_prepare_load_fn(prog, &attr, prog->sec_def->cookie); WARNING: line length of 94 exceeds 80 columns #92: FILE: tools/lib/bpf/libbpf.c:9860: + fd = bpf_prog_load(prog->type, prog->name, obj->license, prog->insns, prog->insns_cnt, WARNING: line length of 99 exceeds 80 columns #124: FILE: tools/lib/bpf/libbpf.h:2039: +LIBBPF_API int bpf_program__clone(struct bpf_program *prog, const struct bpf_prog_load_opts *opts); total: 0 errors, 18 warnings, 0 checks, 97 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 8696ca1b4562 ("libbpf: Introduce bpf_program__clone()") 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, 18 warnings, 0 checks, 97 lines checked