WARNING: line length of 88 exceeds 80 columns #120: FILE: tools/lib/bpf/libbpf.c:1630: + pr_warn("elf: failed to open %s: %s\n", obj->path, errstr(err)); WARNING: line length of 97 exceeds 80 columns #130: FILE: tools/lib/bpf/libbpf.c:2036: + pr_warn("failed to alloc map '%s' content buffer: %s\n", map->name, errstr(err)); WARNING: line length of 97 exceeds 80 columns #178: FILE: tools/lib/bpf/libbpf.c:3310: + pr_warn("Error loading ELF section %s: %s.\n", BTF_ELF_SEC, errstr(err)); WARNING: line length of 88 exceeds 80 columns #244: FILE: tools/lib/bpf/libbpf.c:5044: + __pr(level, "object '%s': failed (%s) to open BPF FS mount at '%s'%s\n", WARNING: line length of 84 exceeds 80 columns #453: FILE: tools/lib/bpf/libbpf.c:5727: + pr_warn("failed to iterate BTF objects: %s\n", errstr(err)); WARNING: line length of 90 exceeds 80 columns #462: FILE: tools/lib/bpf/libbpf.c:5736: + pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); WARNING: line length of 92 exceeds 80 columns #471: FILE: tools/lib/bpf/libbpf.c:5748: + pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); WARNING: line length of 81 exceeds 80 columns #491: FILE: tools/lib/bpf/libbpf.c:5991: + pr_warn("failed to parse target BTF: %s\n", errstr(err)); WARNING: line length of 91 exceeds 80 columns #617: FILE: tools/lib/bpf/libbpf.c:7659: + prog->name, map->real_name, errstr(errno)); WARNING: line length of 87 exceeds 80 columns #627: FILE: tools/lib/bpf/libbpf.c:7689: + pr_warn("prog '%s': BPF program load failed: %s\n", prog->name, errstr(errno)); WARNING: line length of 92 exceeds 80 columns #636: FILE: tools/lib/bpf/libbpf.c:7982: + pr_warn("prog '%s': failed to load: %s\n", prog->name, errstr(err)); WARNING: line length of 97 exceeds 80 columns #709: FILE: tools/lib/bpf/libbpf.c:8755: + pr_warn("prog '%s': failed to pin at '%s': %s\n", prog->name, path, errstr(err)); WARNING: line length of 95 exceeds 80 columns #747: FILE: tools/lib/bpf/libbpf.c:10044: + 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 #758: FILE: tools/lib/bpf/libbpf.c:10127: + prog->name, attach_prog_fd, attach_name, errstr(err)); WARNING: line length of 90 exceeds 80 columns #921: FILE: tools/lib/bpf/libbpf.c:11476: + pr_warn("failed to open %s: %s\n", available_functions_file, errstr(err)); WARNING: line length of 85 exceeds 80 columns #976: FILE: tools/lib/bpf/libbpf.c:11894: + pr_warn("legacy uprobe perf_event_open() failed: %s\n", errstr(err)); WARNING: line length of 85 exceeds 80 columns #1282: FILE: tools/lib/bpf/libbpf.c:13584: + pr_warn("error while processing records: %s\n", errstr(err)); WARNING: line length of 84 exceeds 80 columns #1301: FILE: tools/lib/bpf/libbpf.c:13780: + pr_warn("Failed to open cpu mask file %s: %s\n", fcpu, errstr(err)); WARNING: line length of 84 exceeds 80 columns #1309: FILE: tools/lib/bpf/libbpf.c:13787: + pr_warn("Failed to read cpu mask from %s: %s\n", fcpu, errstr(err)); WARNING: line length of 97 exceeds 80 columns #1327: FILE: tools/lib/bpf/libbpf.c:13887: + pr_warn("failed to populate skeleton maps for '%s': %s\n", s->name, errstr(err)); WARNING: line length of 98 exceeds 80 columns #1334: FILE: tools/lib/bpf/libbpf.c:13893: + pr_warn("failed to populate skeleton progs for '%s': %s\n", s->name, errstr(err)); WARNING: line length of 82 exceeds 80 columns #1343: FILE: tools/lib/bpf/libbpf.c:13923: + pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); WARNING: line length of 82 exceeds 80 columns #1350: FILE: tools/lib/bpf/libbpf.c:13929: + pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); WARNING: line length of 88 exceeds 80 columns #1359: FILE: tools/lib/bpf/libbpf.c:13976: + pr_warn("failed to load BPF skeleton '%s': %s\n", s->name, errstr(err)); total: 0 errors, 24 warnings, 0 checks, 1236 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 f5e879d3ce05 ("libbpf: stringify error codes in warning messages") 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, 1236 lines checked