WARNING: line length of 94 exceeds 80 columns #113: FILE: tools/lib/bpf/btf.c:1807: +int btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type) CHECK: No space is necessary after a cast #190: FILE: tools/lib/bpf/btf.c:5350: + if (btf_is_composite(base_t) && base_t->name_off) CHECK: Please don't use multiple blank lines #206: FILE: tools/lib/bpf/btf.c:5366: + + WARNING: line length of 93 exceeds 80 columns #238: FILE: tools/lib/bpf/btf.c:5398: + err = btf_add_composite(dist->pipe.dst, kind, name, t->size); WARNING: line length of 83 exceeds 80 columns #256: FILE: tools/lib/bpf/btf.c:5416: + err = btf__add_enum(dist->pipe.dst, name, t->size); CHECK: Blank lines aren't necessary before a close brace '}' #281: FILE: tools/lib/bpf/btf.c:5441: + + } WARNING: line length of 82 exceeds 80 columns #326: FILE: tools/lib/bpf/btf.c:5486: + * We return newly-created split BTF where the split BTF refers to a newly-created WARNING: line length of 99 exceeds 80 columns #354: FILE: tools/lib/bpf/btf.c:5514: + dist.pipe.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); WARNING: line length of 87 exceeds 80 columns #371: FILE: tools/lib/bpf/btf.c:5531: + /* Next add types for each of the required references to base BTF and split BTF WARNING: line length of 86 exceeds 80 columns #452: FILE: tools/lib/bpf/btf.h:128: +LIBBPF_API int btf__distill_base(const struct btf *src_btf, struct btf **new_base_btf, total: 0 errors, 7 warnings, 3 checks, 381 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 c490ae9e7167 ("libbpf: add btf__distill_base() creating split BTF with distilled base BTF") 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, 7 warnings, 3 checks, 381 lines checked