WARNING: line length of 97 exceeds 80 columns #124: FILE: tools/lib/bpf/bpf_helpers.h:432: +#define DEFINE_STATIC_KEY(NAME) \ WARNING: line length of 97 exceeds 80 columns #125: FILE: tools/lib/bpf/bpf_helpers.h:433: + struct { \ WARNING: line length of 97 exceeds 80 columns #126: FILE: tools/lib/bpf/bpf_helpers.h:434: + __uint(type, BPF_MAP_TYPE_INSN_SET); \ WARNING: line length of 97 exceeds 80 columns #127: FILE: tools/lib/bpf/bpf_helpers.h:435: + __type(key, __u32); \ WARNING: line length of 97 exceeds 80 columns #128: FILE: tools/lib/bpf/bpf_helpers.h:436: + __type(value, __u32); \ WARNING: line length of 97 exceeds 80 columns #129: FILE: tools/lib/bpf/bpf_helpers.h:437: + __uint(map_extra, BPF_F_STATIC_KEY); \ WARNING: line length of 81 exceeds 80 columns #169: FILE: tools/lib/bpf/bpf_helpers.h:477: + * Linux Kernel. The "unlikely" macro compiles in the code where the else-branch WARNING: line length of 90 exceeds 80 columns #292: FILE: tools/lib/bpf/libbpf.c:1960: + struct static_keys_table_entry *entry) WARNING: line length of 85 exceeds 80 columns #302: FILE: tools/lib/bpf/libbpf.c:1970: + pr_warn("static key: relo #%d: failed to get ELF relo\n", i); WARNING: line length of 85 exceeds 80 columns #341: FILE: tools/lib/bpf/libbpf.c:2009: + pr_warn("static key: relo #%d: failed to get ELF relo\n", i); WARNING: line length of 85 exceeds 80 columns #357: FILE: tools/lib/bpf/libbpf.c:2025: + pr_warn(".maps relo #%d: symbol name is zero or empty\n", i); WARNING: line length of 88 exceeds 80 columns #369: FILE: tools/lib/bpf/libbpf.c:2037: +static struct static_key *find_static_key(struct bpf_program *prog, struct bpf_map *map) WARNING: line length of 85 exceeds 80 columns #433: FILE: tools/lib/bpf/libbpf.c:2101: + for (i = 0; i < data->d_size / sizeof(struct static_keys_table_entry); i++) { WARNING: line length of 98 exceeds 80 columns #438: FILE: tools/lib/bpf/libbpf.c:2106: + prog = find_prog_for_jump_entry(obj, nrels, relo_data, entry_offset, &entries[i]); WARNING: line length of 98 exceeds 80 columns #443: FILE: tools/lib/bpf/libbpf.c:2111: + entry_offset + offsetof(struct static_keys_table_entry, map_ptr)); CHECK: Alignment should match open parenthesis #443: FILE: tools/lib/bpf/libbpf.c:2111: + map = find_map_for_jump_entry(obj, nrels, relo_data, + entry_offset + offsetof(struct static_keys_table_entry, map_ptr)); WARNING: line length of 82 exceeds 80 columns #519: FILE: tools/lib/bpf/libbpf.c:5469: + bpf_map__name(map), key->insns_cnt, map->def.max_entries); WARNING: line length of 88 exceeds 80 columns #554: FILE: tools/lib/bpf/libbpf.c:5817: + err = bpf_object__init_static_key_map(obj, map); WARNING: line length of 82 exceeds 80 columns #568: FILE: tools/lib/bpf/libbpf.c:6648: + size_t main_size = main_prog->static_keys_cnt * sizeof(struct static_key); WARNING: line length of 83 exceeds 80 columns #569: FILE: tools/lib/bpf/libbpf.c:6649: + size_t subprog_size = subprog->static_keys_cnt * sizeof(struct static_key); WARNING: line length of 85 exceeds 80 columns #622: FILE: tools/lib/bpf/libbpf.c:7677: + err = bpf_object__collect_static_keys_relos(obj, shdr, data); WARNING: line length of 98 exceeds 80 columns #694: FILE: tools/lib/bpf/linker.c:1042: + sym_type != R_BPF_64_NODYLD32 && strcmp(sec->sec_name, STATIC_KEYS_REL_SEC)) { WARNING: line length of 92 exceeds 80 columns #703: FILE: tools/lib/bpf/linker.c:2277: + } else if (strcmp(src_sec->sec_name, STATIC_KEYS_REL_SEC)) { total: 0 errors, 22 warnings, 1 checks, 554 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 ed7210ec9d36 ("libbpf: BPF Static Keys support") 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, 22 warnings, 1 checks, 554 lines checked