========== checkpatch - FAILED WARNING: line length of 86 exceeds 80 columns #126: 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 #132: 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 #254: FILE: kernel/bpf/btf.c:6108: +static struct btf *btf_parse_base(struct btf_verifier_env *env, const char *name, WARNING: line length of 84 exceeds 80 columns #327: FILE: kernel/bpf/btf.c:6172: + btf = btf_parse_base(env, "vmlinux", __start_BTF, __stop_BTF - __start_BTF); WARNING: line length of 87 exceeds 80 columns #384: FILE: kernel/bpf/btf.c:6224: + base_btf = btf_parse_base(env, ".BTF.base", base_data, base_data_size); WARNING: line length of 84 exceeds 80 columns #424: FILE: kernel/bpf/btf.c:7840: + btf = btf_parse_module(mod->name, mod->btf_data, mod->btf_data_size, WARNING: line length of 84 exceeds 80 columns #425: FILE: kernel/bpf/btf.c:7841: + mod->btf_base_data, mod->btf_base_data_size); WARNING: line length of 95 exceeds 80 columns #484: FILE: kernel/bpf/btf.c:8376: + ret = btf_check_kfunc_protos(btf, btf_relocate_id(btf, kset->set->pairs[i].id), WARNING: line length of 82 exceeds 80 columns #513: FILE: kernel/bpf/btf.c:8529: + tab->dtors[i].btf_id = btf_relocate_id(btf, tab->dtors[i].btf_id); WARNING: line length of 94 exceeds 80 columns #514: FILE: kernel/bpf/btf.c:8530: + tab->dtors[i].kfunc_btf_id = btf_relocate_id(btf, tab->dtors[i].kfunc_btf_id); WARNING: line length of 81 exceeds 80 columns #532: 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 #532: 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 81 exceeds 80 columns #557: 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 #557: 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 #564: FILE: tools/lib/bpf/btf_relocate.c:23: +#define calloc(nmemb, sz) kvcalloc(nmemb, sz, GFP_KERNEL | __GFP_NOWARN) total: 2 errors, 13 warnings, 0 checks, 500 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 30eda85ef019 ("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.