WARNING: line length of 85 exceeds 80 columns #156: FILE: tools/lib/bpf/btf.c:5956: + err = btf_ext_visit_type_ids(btf_ext, btf_permute_remap_type_id, &p); WARNING: line length of 91 exceeds 80 columns #185: FILE: tools/lib/bpf/btf.c:5985: + btf->raw_size = btf->hdr->hdr_len + btf->hdr->type_len + btf->hdr->str_len; ERROR: space prohibited before that ':' (ctx:WxV) #210: FILE: tools/lib/bpf/btf.h:280: + size_t :0; ^ CHECK: Please use a blank line after function/struct/union/enum declarations #212: FILE: tools/lib/bpf/btf.h:282: +}; +#define btf_permute_opts__last_field btf_ext WARNING: line length of 81 exceeds 80 columns #222: FILE: tools/lib/bpf/btf.h:292: + * **btf__permute()** rearranges BTF types according to the specified ID mapping. WARNING: line length of 83 exceeds 80 columns #232: FILE: tools/lib/bpf/btf.h:302: + * - @id_map_cnt should be `btf__type_cnt(btf) - btf__type_cnt(btf__base_btf(btf))` WARNING: line length of 84 exceeds 80 columns #233: FILE: tools/lib/bpf/btf.h:303: + * - Mapping uses `id_map[original_id - btf__type_cnt(btf__base_btf(btf))] = new_id` WARNING: line length of 84 exceeds 80 columns #235: FILE: tools/lib/bpf/btf.h:305: + * Setting @id_map element to 0 drops the corresponding type. Dropped types must not WARNING: line length of 81 exceeds 80 columns #236: FILE: tools/lib/bpf/btf.h:306: + * be referenced by any retained types. After permutation, type references in BTF WARNING: line length of 86 exceeds 80 columns #239: FILE: tools/lib/bpf/btf.h:309: + * Note: Dropping types may orphan some strings, requiring subsequent **btf__dedup()** total: 1 errors, 8 warnings, 1 checks, 223 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 4d51d954c7ac ("libbpf: Add BTF permutation support for type reordering") 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.