WARNING: line length of 86 exceeds 80 columns #100: FILE: tools/lib/bpf/btf.c:2971: + num_records = is_native ? sinfo->num_info : bswap_32(sinfo->num_info); WARNING: line length of 86 exceeds 80 columns #161: FILE: tools/lib/bpf/btf.c:3036: + if (btf_ext->hdr->hdr_len < offsetofend(struct btf_ext_header, core_relo_len)) WARNING: line length of 81 exceeds 80 columns #374: FILE: tools/lib/bpf/btf.c:3238: +static void *btf_ext_raw_data(const struct btf_ext *btf_ext_ro, bool swap_endian) WARNING: line length of 84 exceeds 80 columns #417: FILE: tools/lib/bpf/btf.c:3280: + return btf_ext->swapped_endian ? BTF_LITTLE_ENDIAN : BTF_BIG_ENDIAN; WARNING: line length of 84 exceeds 80 columns #419: FILE: tools/lib/bpf/btf.c:3282: + return btf_ext->swapped_endian ? BTF_BIG_ENDIAN : BTF_LITTLE_ENDIAN; WARNING: line length of 85 exceeds 80 columns #427: FILE: tools/lib/bpf/btf.c:3290: + btf_ext->swapped_endian = is_host_big_endian() != (endian == BTF_BIG_ENDIAN); WARNING: line length of 82 exceeds 80 columns #446: FILE: tools/lib/bpf/btf.h:170: +LIBBPF_API enum btf_endianness btf_ext__endianness(const struct btf_ext *btf_ext); total: 0 errors, 7 warnings, 0 checks, 451 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 bbc43fc38b99 ("libbpf: Support BTF.ext loading and output in either endianness") 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, 0 checks, 451 lines checked