WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #29: new file mode 100644 WARNING: line length of 84 exceeds 80 columns #84: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:51: + btf__add_struct(btf1, "unneeded", 4); /* [12] struct unneeded { */ WARNING: line length of 84 exceeds 80 columns #87: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:54: + btf__add_struct(btf1, "embedded", 4); /* [13] struct embedded { */ WARNING: line length of 84 exceeds 80 columns #90: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:57: + btf__add_func_proto(btf1, 1); /* [14] int (*)(int *p1); */ WARNING: line length of 86 exceeds 80 columns #95: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:62: + btf__add_struct(btf1, "from_proto", 4); /* [16] struct from_proto { */ CHECK: Lines should not end with a '(' #101: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:68: + VALIDATE_RAW_BTF( WARNING: line length of 83 exceeds 80 columns #140: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:107: + btf__add_ptr(btf2, 3); /* [18] ptr to struct s1 */ WARNING: line length of 87 exceeds 80 columns #142: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:109: + btf__add_ptr(btf2, 4); /* [19] ptr to struct (anon) */ WARNING: line length of 81 exceeds 80 columns #143: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:110: + btf__add_const(btf2, 6); /* [20] const union u1 */ WARNING: line length of 88 exceeds 80 columns #144: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:111: + btf__add_restrict(btf2, 7); /* [21] restrict union (anon) */ WARNING: line length of 83 exceeds 80 columns #145: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:112: + btf__add_volatile(btf2, 8); /* [22] volatile enum e1 */ WARNING: line length of 86 exceeds 80 columns #146: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:113: + btf__add_typedef(btf2, "et", 9); /* [23] typedef enum (anon) */ WARNING: line length of 84 exceeds 80 columns #147: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:114: + btf__add_const(btf2, 10); /* [24] const enum64 e641 */ WARNING: line length of 89 exceeds 80 columns #148: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:115: + btf__add_ptr(btf2, 11); /* [25] restrict enum64 (anon) */ WARNING: line length of 89 exceeds 80 columns #149: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:116: + btf__add_struct(btf2, "with_embedded", 4); /* [26] struct with_embedded { */ WARNING: line length of 86 exceeds 80 columns #150: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:117: + btf__add_field(btf2, "f1", 13, 0, 0); /* struct embedded f1; */ WARNING: line length of 82 exceeds 80 columns #152: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:119: + btf__add_func(btf2, "fn", BTF_FUNC_STATIC, 14); /* [27] int fn(int p1); */ WARNING: line length of 86 exceeds 80 columns #153: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:120: + btf__add_typedef(btf2, "arraytype", 15); /* [28] typedef int[3] foo; */ WARNING: line length of 97 exceeds 80 columns #154: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:121: + btf__add_func_proto(btf2, 1); /* [29] int (*)(struct from proto p1); */ CHECK: Lines should not end with a '(' #157: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:124: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #213: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:180: + VALIDATE_RAW_BTF( WARNING: line length of 87 exceeds 80 columns #222: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:189: + /* split BTF; these types should match split BTF above from 17-28, with WARNING: line length of 82 exceeds 80 columns #260: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:227: +/* create split reference BTF from vmlinux + split BTF with a few type references; WARNING: line length of 81 exceeds 80 columns #261: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:228: + * ensure the resultant split reference BTF is as expected, containing only types CHECK: Lines should not end with a '(' #288: FILE: tools/testing/selftests/bpf/prog_tests/btf_distill.c:255: + VALIDATE_RAW_BTF( total: 0 errors, 21 warnings, 4 checks, 274 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 1b867f6a6c82 ("selftests/bpf: test distilled base, split BTF generation") 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, 21 warnings, 4 checks, 274 lines checked