WARNING: line length of 97 exceeds 80 columns #31: FILE: tools/lib/bpf/btf.c:33: +/* Describe how kinds are laid out; some have a singular element following the "struct btf_type", WARNING: line length of 99 exceeds 80 columns #32: FILE: tools/lib/bpf/btf.c:34: + * some have BTF_INFO_VLEN(t->info) elements. Specify sizes for both. Flags are currently unused. WARNING: line length of 90 exceeds 80 columns #33: FILE: tools/lib/bpf/btf.c:35: + * Kind layout can be optionally added to the BTF representation in a dedicated section to WARNING: line length of 94 exceeds 80 columns #38: FILE: tools/lib/bpf/btf.c:40: +{ 0, 0, 0 }, /* _UNKN */ WARNING: line length of 93 exceeds 80 columns #39: FILE: tools/lib/bpf/btf.c:41: +{ 0, sizeof(__u32), 0 }, /* _INT */ WARNING: line length of 93 exceeds 80 columns #40: FILE: tools/lib/bpf/btf.c:42: +{ 0, 0, 0 }, /* _PTR */ WARNING: line length of 95 exceeds 80 columns #41: FILE: tools/lib/bpf/btf.c:43: +{ 0, sizeof(struct btf_array), 0 }, /* _ARRAY */ WARNING: line length of 96 exceeds 80 columns #42: FILE: tools/lib/bpf/btf.c:44: +{ 0, 0, sizeof(struct btf_member) }, /* _STRUCT */ WARNING: line length of 95 exceeds 80 columns #43: FILE: tools/lib/bpf/btf.c:45: +{ 0, 0, sizeof(struct btf_member) }, /* _UNION */ WARNING: line length of 94 exceeds 80 columns #44: FILE: tools/lib/bpf/btf.c:46: +{ 0, 0, sizeof(struct btf_enum) }, /* _ENUM */ WARNING: line length of 93 exceeds 80 columns #45: FILE: tools/lib/bpf/btf.c:47: +{ 0, 0, 0 }, /* _FWD */ WARNING: line length of 97 exceeds 80 columns #46: FILE: tools/lib/bpf/btf.c:48: +{ 0, 0, 0 }, /* _TYPEDEF */ WARNING: line length of 98 exceeds 80 columns #47: FILE: tools/lib/bpf/btf.c:49: +{ 0, 0, 0 }, /* _VOLATILE */ WARNING: line length of 95 exceeds 80 columns #48: FILE: tools/lib/bpf/btf.c:50: +{ 0, 0, 0 }, /* _CONST */ WARNING: line length of 98 exceeds 80 columns #49: FILE: tools/lib/bpf/btf.c:51: +{ 0, 0, 0 }, /* _RESTRICT */ WARNING: line length of 94 exceeds 80 columns #50: FILE: tools/lib/bpf/btf.c:52: +{ 0, 0, 0 }, /* _FUNC */ WARNING: line length of 100 exceeds 80 columns #51: FILE: tools/lib/bpf/btf.c:53: +{ 0, 0, sizeof(struct btf_param) }, /* _FUNC_PROTO */ WARNING: line length of 93 exceeds 80 columns #52: FILE: tools/lib/bpf/btf.c:54: +{ 0, sizeof(struct btf_var), 0 }, /* _VAR */ WARNING: line length of 97 exceeds 80 columns #53: FILE: tools/lib/bpf/btf.c:55: +{ 0, 0, sizeof(struct btf_var_secinfo) }, /* _DATASEC */ WARNING: line length of 95 exceeds 80 columns #54: FILE: tools/lib/bpf/btf.c:56: +{ 0, 0, 0 }, /* _FLOAT */ WARNING: line length of 98 exceeds 80 columns #55: FILE: tools/lib/bpf/btf.c:57: +{ 0, sizeof(struct btf_decl_tag), 0 }, /* _DECL_TAG */ WARNING: line length of 98 exceeds 80 columns #56: FILE: tools/lib/bpf/btf.c:58: +{ 0, 0, 0 }, /* _TYPE_TAG */ WARNING: line length of 96 exceeds 80 columns #57: FILE: tools/lib/bpf/btf.c:59: +{ 0, 0, sizeof(struct btf_enum64) }, /* _ENUM64 */ CHECK: Please use a blank line after function/struct/union/enum declarations #135: FILE: tools/lib/bpf/btf.h:117: +}; +#define btf_new_opts__last_field add_kind_layout total: 0 errors, 23 warnings, 1 checks, 121 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 80912b3152ef ("libbpf: Add kind layout encoding support") 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, 23 warnings, 1 checks, 121 lines checked