CHECK: Lines should not end with a '(' #42: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:10: + VALIDATE_RAW_BTF( WARNING: line length of 82 exceeds 80 columns #74: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:42: + btf__add_func_proto(btf, 1); /* [5] int (*)(int *p); */ CHECK: Lines should not end with a '(' #78: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:46: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #164: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:132: + VALIDATE_RAW_BTF( WARNING: line length of 84 exceeds 80 columns #189: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:157: + btf__add_ptr(base_btf, 1); /* [2] ptr to int */ CHECK: Lines should not end with a '(' #190: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:158: + VALIDATE_RAW_BTF( WARNING: line length of 85 exceeds 80 columns #197: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:165: + btf__add_struct(split_btf, "s1", 4); /* [3] struct s1 { */ WARNING: line length of 85 exceeds 80 columns #200: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:168: + btf__add_struct(split_btf, "s2", 4); /* [4] struct s2 { */ WARNING: line length of 89 exceeds 80 columns #203: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:171: + btf__add_func_proto(split_btf, 1); /* [5] int (*)(int p); */ WARNING: line length of 88 exceeds 80 columns #205: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:173: + btf__add_func(split_btf, "f", BTF_FUNC_STATIC, 5); /* [6] int f(int *p); */ CHECK: Lines should not end with a '(' #207: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:175: + VALIDATE_RAW_BTF( WARNING: line length of 82 exceeds 80 columns #224: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:192: + err = btf__permute(split_btf, permute_ids, ARRAY_SIZE(permute_ids), NULL); WARNING: line length of 86 exceeds 80 columns #237: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:205: + err = btf__permute(split_btf, permute_ids, ARRAY_SIZE(permute_ids) - 1, NULL); WARNING: line length of 82 exceeds 80 columns #248: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:216: + err = btf__permute(split_btf, permute_ids, ARRAY_SIZE(permute_ids), NULL); WARNING: line length of 82 exceeds 80 columns #259: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:227: + err = btf__permute(split_btf, permute_ids, ARRAY_SIZE(permute_ids), NULL); total: 0 errors, 10 warnings, 5 checks, 244 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 d6bc58c9a851 ("selftests/bpf: Add test cases for btf__permute functionality") 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, 5 checks, 244 lines checked