WARNING: line length of 85 exceeds 80 columns #26: FILE: tools/lib/bpf/features.c:618: +#define EXTEND_TYPE_LEN ((3 * sizeof(struct btf_type) + sizeof(__u32))/sizeof(__u32)) CHECK: spaces preferred around that '/' (ctx:VxV) #26: FILE: tools/lib/bpf/features.c:618: +#define EXTEND_TYPE_LEN ((3 * sizeof(struct btf_type) + sizeof(__u32))/sizeof(__u32)) ^ WARNING: line length of 92 exceeds 80 columns #28: FILE: tools/lib/bpf/features.c:620: +#define EXTEND_SECINFO_LEN (EXTEND_VLEN * sizeof(struct btf_var_secinfo)/sizeof(__u32)) CHECK: spaces preferred around that '/' (ctx:VxV) #28: FILE: tools/lib/bpf/features.c:620: +#define EXTEND_SECINFO_LEN (EXTEND_VLEN * sizeof(struct btf_var_secinfo)/sizeof(__u32)) ^ WARNING: line length of 81 exceeds 80 columns #37: FILE: tools/lib/bpf/features.c:629: + BTF_TYPE_ENC(5 /* "foo" */, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1), WARNING: line length of 95 exceeds 80 columns #39: FILE: tools/lib/bpf/features.c:631: + BTF_TYPE_ENC(9 /* "bar" */, BTF_INFO_ENC(BTF_KIND_DATASEC, EXTEND_VLEN, 0), 0), WARNING: line length of 81 exceeds 80 columns #46: FILE: tools/lib/bpf/features.c:638: + types_data = calloc(EXTEND_TYPE_LEN + EXTEND_SECINFO_LEN, sizeof(__u32)); WARNING: line length of 99 exceeds 80 columns #59: FILE: tools/lib/bpf/features.c:651: + (EXTEND_TYPE_LEN + EXTEND_SECINFO_LEN) * sizeof(__u32), WARNING: line length of 92 exceeds 80 columns #74: FILE: tools/lib/bpf/features.c:743: + "kernel supports extended BTF vlen/kind", probe_kern_btf_vlen_kind_extended, WARNING: line length of 88 exceeds 80 columns #87: FILE: tools/lib/bpf/libbpf.c:3142: + bool has_vlen_kind_extended = kernel_supports(obj, FEAT_BTF_VLEN_KIND_EXTENDED); WARNING: line length of 88 exceeds 80 columns #100: FILE: tools/lib/bpf/libbpf.c:3160: + bool has_vlen_kind_extended = kernel_supports(obj, FEAT_BTF_VLEN_KIND_EXTENDED); WARNING: line length of 90 exceeds 80 columns #115: FILE: tools/lib/bpf/libbpf.c:3229: + btf_kind(t) > 0x1f ? "BTF kind" : "BTF vlen", i); total: 0 errors, 10 warnings, 2 checks, 101 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 7f573ce22d50 ("libbpf: Add feature for kernel extended vlen/kind support") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 10 warnings, 2 checks, 101 lines checked