WARNING: please, no space before tabs #100: FILE: tools/lib/bpf/features.c:551: +^I * ^I'__unique_value__COUNTER__' val=17592186044416ULL$ WARNING: please, no space before tabs #102: FILE: tools/lib/bpf/features.c:553: +^I * ^I'type' type_id=1 bits_offset=0$ WARNING: please, no space before tabs #103: FILE: tools/lib/bpf/features.c:554: +^I * ^I'map_flags' type_id=5 bits_offset=64$ WARNING: please, no space before tabs #104: FILE: tools/lib/bpf/features.c:555: +^I * ^I'max_entries' type_id=7 bits_offset=128$ WARNING: please, no space before tabs #105: FILE: tools/lib/bpf/features.c:556: +^I * ^I'map_extra' type_id=9 bits_offset=192$ WARNING: line length of 83 exceeds 80 columns #114: FILE: tools/lib/bpf/features.c:565: + /* [2] INT 'int' size=4 bits_offset=0 nr_bits=32 encoding=SIGNED */ WARNING: line length of 86 exceeds 80 columns #122: FILE: tools/lib/bpf/features.c:573: + /* [4] INT 'arrind' size=4 bits_offset=0 nr_bits=32 encoding=(none) */ WARNING: line length of 83 exceeds 80 columns #136: FILE: tools/lib/bpf/features.c:587: + /* [8] ARRAY '(anon)' type_id=2 index_type_id=4 nr_elems=1048576 */ WARNING: please, no space before tabs #142: FILE: tools/lib/bpf/features.c:593: +^I^I/* ^I'counter' val=17592186044416ULL */$ WARNING: please, no space before tabs #148: FILE: tools/lib/bpf/features.c:599: +^I^I/* ^I'type' type_id=1 bits_offset=0 */$ WARNING: please, no space before tabs #149: FILE: tools/lib/bpf/features.c:600: +^I^I/* ^I'map_flags' type_id=5 bits_offset=64 */$ WARNING: please, no space before tabs #150: FILE: tools/lib/bpf/features.c:601: +^I^I/* ^I'max_entries' type_id=7 bits_offset=128 */$ WARNING: please, no space before tabs #151: FILE: tools/lib/bpf/features.c:602: +^I^I/* ^I'map_extra' type_id=9 bits_offset=192 */$ WARNING: line length of 85 exceeds 80 columns #160: FILE: tools/lib/bpf/features.c:611: + BTF_TYPE_ENC(57 /* 'arena' */, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 10), WARNING: line length of 99 exceeds 80 columns #168: FILE: tools/lib/bpf/features.c:619: + BTF_TYPE_ENC(63 /* 'func' */, BTF_INFO_ENC(BTF_KIND_FUNC, 0, BTF_FUNC_GLOBAL), 12), WARNING: line length of 96 exceeds 80 columns #171: FILE: tools/lib/bpf/features.c:622: + BPF_LD_MAP_VALUE(BPF_REG_1, 0, 0xfffffffc), /* Very last 32 bits in the arena */ CHECK: Alignment should match open parenthesis #181: FILE: tools/lib/bpf/features.c:632: + LIBBPF_OPTS(bpf_map_create_opts, map_opts, + .token_fd = token_fd, CHECK: Alignment should match open parenthesis #186: FILE: tools/lib/bpf/features.c:637: + LIBBPF_OPTS(bpf_prog_load_opts, opts, + .token_fd = token_fd, WARNING: line length of 98 exceeds 80 columns #191: FILE: tools/lib/bpf/features.c:642: + btf_fd = libbpf__load_raw_btf((char *)types, sizeof(types), strs, sizeof(strs), token_fd); WARNING: line length of 88 exceeds 80 columns #200: FILE: tools/lib/bpf/features.c:651: + map = bpf_map_create(BPF_MAP_TYPE_ARENA, "arena", 0, 0, arena_pages, &map_opts); WARNING: line length of 101 exceeds 80 columns #211: FILE: tools/lib/bpf/features.c:662: + mapping = mmap((void *)arena_offset, arena_size, PROT_READ | PROT_WRITE, MAP_SHARED, map, 0); WARNING: line length of 92 exceeds 80 columns #225: FILE: tools/lib/bpf/features.c:676: + prog_fd = bpf_prog_load(BPF_PROG_TYPE_SYSCALL, NULL, "GPL", insns, insn_cnt, &opts); WARNING: line length of 83 exceeds 80 columns #241: FILE: tools/lib/bpf/features.c:760: + "Relocatable arena globals support", probe_kern_arena_global_reloc, total: 0 errors, 21 warnings, 2 checks, 231 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 a42bb0c3fa5b ("libbpf: Add gating for arena globals relocation feature") 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, 21 warnings, 2 checks, 231 lines checked