WARNING: line length of 82 exceeds 80 columns #62: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:27: + btf__add_func_proto(btf, 1); /* [5] int (*)(int *p); */ CHECK: Lines should not end with a '(' #66: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:31: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #88: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:53: + VALIDATE_RAW_BTF( WARNING: line length of 84 exceeds 80 columns #116: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:81: + btf__add_ptr(base_btf, 1); /* [2] ptr to int */ CHECK: Lines should not end with a '(' #117: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:82: + VALIDATE_RAW_BTF( WARNING: line length of 85 exceeds 80 columns #124: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:89: + btf__add_struct(split_btf, "s1", 4); /* [3] struct s1 { */ WARNING: line length of 85 exceeds 80 columns #127: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:92: + btf__add_struct(split_btf, "s2", 4); /* [4] struct s2 { */ WARNING: line length of 89 exceeds 80 columns #130: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:95: + btf__add_func_proto(split_btf, 1); /* [5] int (*)(int p); */ WARNING: line length of 88 exceeds 80 columns #132: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:97: + btf__add_func(split_btf, "f", BTF_FUNC_STATIC, 5); /* [6] int f(int *p); */ CHECK: Lines should not end with a '(' #134: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:99: + VALIDATE_RAW_BTF( WARNING: line length of 82 exceeds 80 columns #150: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:115: + err = btf__permute(split_btf, permute_ids, ARRAY_SIZE(permute_ids), NULL); CHECK: Lines should not end with a '(' #154: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:119: + VALIDATE_RAW_BTF( WARNING: line length of 82 exceeds 80 columns #190: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:155: + btf__add_func_proto(btf, 1); /* [5] int (*)(int *p); */ CHECK: Lines should not end with a '(' #194: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:159: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #214: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:179: + VALIDATE_RAW_BTF( WARNING: line length of 84 exceeds 80 columns #246: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:211: + btf__add_ptr(base_btf, 1); /* [2] ptr to int */ CHECK: Lines should not end with a '(' #247: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:212: + VALIDATE_RAW_BTF( WARNING: line length of 85 exceeds 80 columns #254: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:219: + btf__add_struct(split_btf, "s1", 4); /* [3] struct s1 { */ WARNING: line length of 85 exceeds 80 columns #257: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:222: + btf__add_struct(split_btf, "s2", 4); /* [4] struct s2 { */ WARNING: line length of 89 exceeds 80 columns #260: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:225: + btf__add_func_proto(split_btf, 1); /* [5] int (*)(int p); */ WARNING: line length of 88 exceeds 80 columns #262: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:227: + btf__add_func(split_btf, "f", BTF_FUNC_STATIC, 5); /* [6] int f(int *p); */ CHECK: Lines should not end with a '(' #264: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:229: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #283: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:248: + VALIDATE_RAW_BTF( total: 0 errors, 13 warnings, 10 checks, 279 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 86ab6a683269 ("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, 13 warnings, 10 checks, 279 lines checked