WARNING: line length of 94 exceeds 80 columns #178: FILE: tools/lib/bpf/btf.c:3206: +static void *btf_ext_raw_data(const struct btf_ext *btf_ext_ro, __u32 *size, bool swap_endian) WARNING: line length of 84 exceeds 80 columns #230: FILE: tools/lib/bpf/btf.c:3257: + return btf_ext->swapped_endian ? BTF_LITTLE_ENDIAN : BTF_BIG_ENDIAN; WARNING: line length of 84 exceeds 80 columns #232: FILE: tools/lib/bpf/btf.c:3259: + return btf_ext->swapped_endian ? BTF_BIG_ENDIAN : BTF_LITTLE_ENDIAN; WARNING: line length of 85 exceeds 80 columns #240: FILE: tools/lib/bpf/btf.c:3267: + btf_ext->swapped_endian = is_host_big_endian() != (endian == BTF_BIG_ENDIAN); CHECK: Please don't use multiple blank lines #248: FILE: tools/lib/bpf/btf.c:3275: + + WARNING: line length of 82 exceeds 80 columns #260: FILE: tools/lib/bpf/btf.h:170: +LIBBPF_API enum btf_endianness btf_ext__endianness(const struct btf_ext *btf_ext); WARNING: line length of 92 exceeds 80 columns #261: FILE: tools/lib/bpf/btf.h:171: +LIBBPF_API int btf_ext__set_endianness(struct btf_ext *btf_ext, enum btf_endianness endian); total: 0 errors, 6 warnings, 1 checks, 236 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 add9024f0a1a ("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, 6 warnings, 1 checks, 236 lines checked