WARNING: line length of 84 exceeds 80 columns #41: FILE: tools/lib/bpf/libbpf.c:239: + [36] = "ENAMETOOLONG", [37] = "ENOLCK", [38] = "ENOSYS", [39] = "ENOTEMPTY", WARNING: line length of 81 exceeds 80 columns #50: FILE: tools/lib/bpf/libbpf.c:248: + [74] = "EBADMSG", [75] = "EOVERFLOW", [76] = "ENOTUNIQ", [77] = "EBADFD", WARNING: line length of 85 exceeds 80 columns #53: FILE: tools/lib/bpf/libbpf.c:251: + [86] = "ESTRPIPE", [87] = "EUSERS", [88] = "ENOTSOCK", [89] = "EDESTADDRREQ", WARNING: line length of 95 exceeds 80 columns #54: FILE: tools/lib/bpf/libbpf.c:252: + [90] = "EMSGSIZE", [91] = "EPROTOTYPE", [92] = "ENOPROTOOPT", [93] = "EPROTONOSUPPORT", WARNING: line length of 100 exceeds 80 columns #55: FILE: tools/lib/bpf/libbpf.c:253: + [94] = "ESOCKTNOSUPPORT", [95] = "EOPNOTSUPP", [96] = "EPFNOSUPPORT", [97] = "EAFNOSUPPORT", WARNING: line length of 95 exceeds 80 columns #56: FILE: tools/lib/bpf/libbpf.c:254: + [98] = "EADDRINUSE", [99] = "EADDRNOTAVAIL", [100] = "ENETDOWN", [101] = "ENETUNREACH", WARNING: line length of 93 exceeds 80 columns #57: FILE: tools/lib/bpf/libbpf.c:255: + [102] = "ENETRESET", [103] = "ECONNABORTED", [104] = "ECONNRESET", [105] = "ENOBUFS", WARNING: line length of 91 exceeds 80 columns #58: FILE: tools/lib/bpf/libbpf.c:256: + [106] = "EISCONN", [107] = "ENOTCONN", [108] = "ESHUTDOWN", [109] = "ETOOMANYREFS", WARNING: line length of 97 exceeds 80 columns #59: FILE: tools/lib/bpf/libbpf.c:257: + [110] = "ETIMEDOUT", [111] = "ECONNREFUSED", [112] = "EHOSTDOWN", [113] = "EHOSTUNREACH", WARNING: line length of 87 exceeds 80 columns #60: FILE: tools/lib/bpf/libbpf.c:258: + [114] = "EALREADY", [115] = "EINPROGRESS", [116] = "ESTALE", [117] = "EUCLEAN", WARNING: line length of 84 exceeds 80 columns #61: FILE: tools/lib/bpf/libbpf.c:259: + [118] = "ENOTNAM", [119] = "ENAVAIL", [120] = "EISNAM", [121] = "EREMOTEIO", WARNING: line length of 90 exceeds 80 columns #62: FILE: tools/lib/bpf/libbpf.c:260: + [122] = "EDQUOT", [123] = "ENOMEDIUM", [124] = "EMEDIUMTYPE", [125] = "ECANCELED", WARNING: line length of 95 exceeds 80 columns #63: FILE: tools/lib/bpf/libbpf.c:261: + [126] = "ENOKEY", [127] = "EKEYEXPIRED", [128] = "EKEYREVOKED", [129] = "EKEYREJECTED", WARNING: line length of 96 exceeds 80 columns #64: FILE: tools/lib/bpf/libbpf.c:262: + [130] = "EOWNERDEAD", [131] = "ENOTRECOVERABLE", [132] = "ERFKILL", [133] = "EHWPOISON", WARNING: line length of 88 exceeds 80 columns #100: FILE: tools/lib/bpf/libbpf.c:1603: + pr_warn("elf: failed to open %s: %s\n", obj->path, errstr(err)); WARNING: line length of 97 exceeds 80 columns #159: FILE: tools/lib/bpf/libbpf.c:3284: + pr_warn("Error loading ELF section %s: %s.\n", BTF_ELF_SEC, errstr(err)); WARNING: line length of 88 exceeds 80 columns #225: FILE: tools/lib/bpf/libbpf.c:5018: + __pr(level, "object '%s': failed (%s) to open BPF FS mount at '%s'%s\n", WARNING: quoted string split across lines #258: FILE: tools/lib/bpf/libbpf.c:5080: "(CONFIG_BPF_SYSCALL=y) and/or that RLIMIT_MEMLOCK is " + "set to big enough value.\n", __func__, errstr(ret)); WARNING: line length of 84 exceeds 80 columns #434: FILE: tools/lib/bpf/libbpf.c:5703: + pr_warn("failed to iterate BTF objects: %s\n", errstr(err)); WARNING: line length of 90 exceeds 80 columns #443: FILE: tools/lib/bpf/libbpf.c:5712: + pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); WARNING: line length of 92 exceeds 80 columns #452: FILE: tools/lib/bpf/libbpf.c:5724: + pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); WARNING: line length of 81 exceeds 80 columns #472: FILE: tools/lib/bpf/libbpf.c:5967: + pr_warn("failed to parse target BTF: %s\n", errstr(err)); WARNING: line length of 91 exceeds 80 columns #598: FILE: tools/lib/bpf/libbpf.c:7635: + prog->name, map->real_name, errstr(errno)); WARNING: line length of 87 exceeds 80 columns #608: FILE: tools/lib/bpf/libbpf.c:7665: + pr_warn("prog '%s': BPF program load failed: %s\n", prog->name, errstr(errno)); WARNING: line length of 92 exceeds 80 columns #617: FILE: tools/lib/bpf/libbpf.c:7958: + pr_warn("prog '%s': failed to load: %s\n", prog->name, errstr(err)); WARNING: line length of 97 exceeds 80 columns #690: FILE: tools/lib/bpf/libbpf.c:8731: + pr_warn("prog '%s': failed to pin at '%s': %s\n", prog->name, path, errstr(err)); WARNING: line length of 95 exceeds 80 columns #728: FILE: tools/lib/bpf/libbpf.c:10020: + 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 #739: FILE: tools/lib/bpf/libbpf.c:10103: + prog->name, attach_prog_fd, attach_name, errstr(err)); WARNING: line length of 90 exceeds 80 columns #902: FILE: tools/lib/bpf/libbpf.c:11452: + pr_warn("failed to open %s: %s\n", available_functions_file, errstr(err)); WARNING: line length of 85 exceeds 80 columns #957: FILE: tools/lib/bpf/libbpf.c:11870: + pr_warn("legacy uprobe perf_event_open() failed: %s\n", errstr(err)); WARNING: line length of 85 exceeds 80 columns #1263: FILE: tools/lib/bpf/libbpf.c:13560: + pr_warn("error while processing records: %s\n", errstr(err)); WARNING: line length of 84 exceeds 80 columns #1282: FILE: tools/lib/bpf/libbpf.c:13756: + pr_warn("Failed to open cpu mask file %s: %s\n", fcpu, errstr(err)); WARNING: line length of 84 exceeds 80 columns #1290: FILE: tools/lib/bpf/libbpf.c:13763: + pr_warn("Failed to read cpu mask from %s: %s\n", fcpu, errstr(err)); WARNING: line length of 97 exceeds 80 columns #1308: FILE: tools/lib/bpf/libbpf.c:13863: + pr_warn("failed to populate skeleton maps for '%s': %s\n", s->name, errstr(err)); WARNING: line length of 98 exceeds 80 columns #1315: FILE: tools/lib/bpf/libbpf.c:13869: + pr_warn("failed to populate skeleton progs for '%s': %s\n", s->name, errstr(err)); WARNING: line length of 82 exceeds 80 columns #1324: FILE: tools/lib/bpf/libbpf.c:13899: + pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); WARNING: line length of 82 exceeds 80 columns #1331: FILE: tools/lib/bpf/libbpf.c:13905: + pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); WARNING: line length of 88 exceeds 80 columns #1340: FILE: tools/lib/bpf/libbpf.c:13952: + pr_warn("failed to load BPF skeleton '%s': %s\n", s->name, errstr(err)); total: 0 errors, 38 warnings, 0 checks, 1216 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 d769a5888e03 ("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, 38 warnings, 0 checks, 1216 lines checked