WARNING: line length of 88 exceeds 80 columns #52: FILE: tools/lib/bpf/btf_relocate.c:180: + info[id].name = btf__name_by_offset(r->dist_base_btf, dist_t->name_off); WARNING: line length of 84 exceeds 80 columns #85: FILE: tools/lib/bpf/btf_relocate.c:226: + base_info.name = btf__name_by_offset(r->base_btf, base_t->name_off); WARNING: line length of 83 exceeds 80 columns #105: FILE: tools/lib/bpf/btf_relocate.c:248: + base_info.needs_size = base_name_cnt[base_t->name_off] > 1; WARNING: line length of 95 exceeds 80 columns #124: FILE: tools/lib/bpf/btf_relocate.c:255: + for (dist_info = search_btf_name_size(&base_info, info, r->nr_dist_base_types); CHECK: Comparison to NULL could be written "dist_info" #125: FILE: tools/lib/bpf/btf_relocate.c:256: + dist_info != NULL && dist_info < info_end && WARNING: line length of 87 exceeds 80 columns #128: FILE: tools/lib/bpf/btf_relocate.c:259: + if (!dist_info->id || dist_info->id >= r->nr_dist_base_types) { WARNING: line length of 81 exceeds 80 columns #136: FILE: tools/lib/bpf/btf_relocate.c:265: + dist_t = btf_type_by_id(r->dist_base_btf, dist_info->id); WARNING: line length of 82 exceeds 80 columns #145: FILE: tools/lib/bpf/btf_relocate.c:312: + if (r->id_map[dist_info->id] == BTF_IS_EMBEDDED && WARNING: line length of 84 exceeds 80 columns #166: FILE: tools/lib/bpf/btf_relocate.c:331: + base_t->size, id, r->id_map[dist_info->id]); total: 0 errors, 8 warnings, 1 checks, 154 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 29dc91de6201 ("libbpf: BTF relocation followup fixing naming, loop logic") 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, 8 warnings, 1 checks, 154 lines checked