WARNING: line length of 86 exceeds 80 columns #128: FILE: include/linux/btf.h:594: +static inline int btf_relocate(void *log, struct btf *btf, const struct btf *base_btf, WARNING: line length of 84 exceeds 80 columns #134: FILE: include/linux/btf.h:600: +static inline int btf_field_iter_init(struct btf_field_iter *it, struct btf_type *t, WARNING: line length of 81 exceeds 80 columns #243: FILE: kernel/bpf/btf.c:6114: +static struct btf *btf_parse_base(struct btf_verifier_env *env, const char *name, WARNING: line length of 84 exceeds 80 columns #316: FILE: kernel/bpf/btf.c:6178: + btf = btf_parse_base(env, "vmlinux", __start_BTF, __stop_BTF - __start_BTF); WARNING: line length of 87 exceeds 80 columns #373: FILE: kernel/bpf/btf.c:6230: + base_btf = btf_parse_base(env, ".BTF.base", base_data, base_data_size); WARNING: line length of 84 exceeds 80 columns #413: FILE: kernel/bpf/btf.c:7846: + btf = btf_parse_module(mod->name, mod->btf_data, mod->btf_data_size, WARNING: line length of 84 exceeds 80 columns #414: FILE: kernel/bpf/btf.c:7847: + mod->btf_base_data, mod->btf_base_data_size); WARNING: line length of 95 exceeds 80 columns #473: FILE: kernel/bpf/btf.c:8382: + ret = btf_check_kfunc_protos(btf, btf_relocate_id(btf, kset->set->pairs[i].id), WARNING: line length of 82 exceeds 80 columns #493: FILE: kernel/bpf/btf.c:8535: + tab->dtors[i].btf_id = btf_relocate_id(btf, tab->dtors[i].btf_id); WARNING: line length of 94 exceeds 80 columns #494: FILE: kernel/bpf/btf.c:8536: + tab->dtors[i].kfunc_btf_id = btf_relocate_id(btf, tab->dtors[i].kfunc_btf_id); WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #684: new file mode 100644 WARNING: line length of 81 exceeds 80 columns #697: FILE: tools/lib/bpf/btf_iter.c:9: +#define btf_var_secinfos(t) (struct btf_var_secinfo *)btf_type_var_secinfo(t) ERROR: Macros with complex values should be enclosed in parentheses #697: FILE: tools/lib/bpf/btf_iter.c:9: +#define btf_var_secinfos(t) (struct btf_var_secinfo *)btf_type_var_secinfo(t) WARNING: line length of 100 exceeds 80 columns #732: FILE: tools/lib/bpf/btf_iter.c:44: + it->desc = (struct btf_field_desc) { 1, {offsetof(struct btf_type, type)} }; WARNING: line length of 95 exceeds 80 columns #736: FILE: tools/lib/bpf/btf_iter.c:48: + 2, {sizeof(struct btf_type) + offsetof(struct btf_array, type), WARNING: line length of 97 exceeds 80 columns #737: FILE: tools/lib/bpf/btf_iter.c:49: + sizeof(struct btf_type) + offsetof(struct btf_array, index_type)} WARNING: line length of 81 exceeds 80 columns #882: FILE: tools/lib/bpf/btf_relocate.c:16: +#define btf_type_by_id (struct btf_type *)btf_type_by_id ERROR: Macros with complex values should be enclosed in parentheses #882: FILE: tools/lib/bpf/btf_relocate.c:16: +#define btf_type_by_id (struct btf_type *)btf_type_by_id WARNING: line length of 94 exceeds 80 columns #889: FILE: tools/lib/bpf/btf_relocate.c:23: +#define calloc(nmemb, sz) kvcalloc(nmemb, sz, GFP_KERNEL | __GFP_NOWARN) total: 2 errors, 17 warnings, 0 checks, 814 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 4be17c1fb25d ("libbpf,bpf: share BTF relocate-related code with kernel") 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.