WARNING: line length of 88 exceeds 80 columns #28: FILE: tools/lib/bpf/libbpf.c:1555: + pr_warn("elf: failed to open %s: %s\n", obj->path, errstr(err)); WARNING: line length of 97 exceeds 80 columns #38: FILE: tools/lib/bpf/libbpf.c:1961: + pr_warn("failed to alloc map '%s' content buffer: %s\n", map->name, errstr(err)); WARNING: line length of 97 exceeds 80 columns #86: FILE: tools/lib/bpf/libbpf.c:3235: + pr_warn("Error loading ELF section %s: %s.\n", BTF_ELF_SEC, errstr(err)); WARNING: line length of 88 exceeds 80 columns #152: FILE: tools/lib/bpf/libbpf.c:4969: + __pr(level, "object '%s': failed (%s) to open BPF FS mount at '%s'%s\n", WARNING: line length of 84 exceeds 80 columns #359: FILE: tools/lib/bpf/libbpf.c:5654: + pr_warn("failed to iterate BTF objects: %s\n", errstr(err)); WARNING: line length of 90 exceeds 80 columns #368: FILE: tools/lib/bpf/libbpf.c:5663: + pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); WARNING: line length of 92 exceeds 80 columns #377: FILE: tools/lib/bpf/libbpf.c:5675: + pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); WARNING: line length of 81 exceeds 80 columns #397: FILE: tools/lib/bpf/libbpf.c:5918: + pr_warn("failed to parse target BTF: %s\n", errstr(err)); WARNING: line length of 91 exceeds 80 columns #523: FILE: tools/lib/bpf/libbpf.c:7586: + prog->name, map->real_name, errstr(errno)); WARNING: line length of 87 exceeds 80 columns #533: FILE: tools/lib/bpf/libbpf.c:7616: + pr_warn("prog '%s': BPF program load failed: %s\n", prog->name, errstr(errno)); WARNING: line length of 92 exceeds 80 columns #542: FILE: tools/lib/bpf/libbpf.c:7909: + pr_warn("prog '%s': failed to load: %s\n", prog->name, errstr(err)); WARNING: line length of 97 exceeds 80 columns #615: FILE: tools/lib/bpf/libbpf.c:8682: + pr_warn("prog '%s': failed to pin at '%s': %s\n", prog->name, path, errstr(err)); WARNING: line length of 95 exceeds 80 columns #653: FILE: tools/lib/bpf/libbpf.c:9973: + pr_warn("Failed to get BTF %d of the program: %s\n", info.btf_id, errstr(err)); WARNING: line length of 86 exceeds 80 columns #664: FILE: tools/lib/bpf/libbpf.c:10056: + prog->name, attach_prog_fd, attach_name, errstr(err)); WARNING: line length of 90 exceeds 80 columns #852: FILE: tools/lib/bpf/libbpf.c:11402: + pr_warn("failed to open %s: %s\n", available_functions_file, errstr(err)); WARNING: line length of 85 exceeds 80 columns #907: FILE: tools/lib/bpf/libbpf.c:11822: + pr_warn("legacy uprobe perf_event_open() failed: %s\n", errstr(err)); WARNING: line length of 85 exceeds 80 columns #1213: FILE: tools/lib/bpf/libbpf.c:13522: + pr_warn("error while processing records: %s\n", errstr(err)); WARNING: line length of 84 exceeds 80 columns #1232: FILE: tools/lib/bpf/libbpf.c:13718: + pr_warn("Failed to open cpu mask file %s: %s\n", fcpu, errstr(err)); WARNING: line length of 84 exceeds 80 columns #1240: FILE: tools/lib/bpf/libbpf.c:13725: + pr_warn("Failed to read cpu mask from %s: %s\n", fcpu, errstr(err)); WARNING: line length of 97 exceeds 80 columns #1258: FILE: tools/lib/bpf/libbpf.c:13825: + pr_warn("failed to populate skeleton maps for '%s': %s\n", s->name, errstr(err)); WARNING: line length of 98 exceeds 80 columns #1265: FILE: tools/lib/bpf/libbpf.c:13831: + pr_warn("failed to populate skeleton progs for '%s': %s\n", s->name, errstr(err)); WARNING: line length of 82 exceeds 80 columns #1274: FILE: tools/lib/bpf/libbpf.c:13861: + pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); WARNING: line length of 82 exceeds 80 columns #1281: FILE: tools/lib/bpf/libbpf.c:13867: + pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); WARNING: line length of 88 exceeds 80 columns #1290: FILE: tools/lib/bpf/libbpf.c:13914: + pr_warn("failed to load BPF skeleton '%s': %s\n", s->name, errstr(err)); total: 0 errors, 24 warnings, 0 checks, 1175 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 153b67c62942 ("libbpf: stringify errno in log messages in libbpf.c") 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, 24 warnings, 0 checks, 1175 lines checked