WARNING: line length of 82 exceeds 80 columns #62: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:28: + 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:32: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #88: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:54: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #114: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:80: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #137: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:103: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #160: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:126: + VALIDATE_RAW_BTF( WARNING: line length of 84 exceeds 80 columns #189: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:155: + 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:156: + VALIDATE_RAW_BTF( WARNING: line length of 85 exceeds 80 columns #197: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:163: + 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:166: + 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:169: + 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:171: + 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:173: + VALIDATE_RAW_BTF( WARNING: line length of 82 exceeds 80 columns #224: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:190: + err = btf__permute(split_btf, permute_ids, ARRAY_SIZE(permute_ids), NULL); CHECK: Lines should not end with a '(' #228: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:194: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #252: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:218: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #273: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:239: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #294: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:260: + VALIDATE_RAW_BTF( WARNING: line length of 82 exceeds 80 columns #331: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:297: + btf__add_func_proto(btf, 1); /* [5] int (*)(int *p); */ CHECK: Lines should not end with a '(' #335: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:301: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #358: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:324: + VALIDATE_RAW_BTF( CHECK: Please don't use multiple blank lines #378: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:344: + + CHECK: Lines should not end with a '(' #379: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:345: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #397: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:363: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #415: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:381: + VALIDATE_RAW_BTF( WARNING: line length of 84 exceeds 80 columns #446: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:412: + btf__add_ptr(base_btf, 1); /* [2] ptr to int */ CHECK: Lines should not end with a '(' #447: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:413: + VALIDATE_RAW_BTF( WARNING: line length of 85 exceeds 80 columns #454: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:420: + btf__add_struct(split_btf, "s1", 4); /* [3] struct s1 { */ WARNING: line length of 85 exceeds 80 columns #457: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:423: + btf__add_struct(split_btf, "s2", 4); /* [4] struct s2 { */ WARNING: line length of 89 exceeds 80 columns #460: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:426: + btf__add_func_proto(split_btf, 1); /* [5] int (*)(int p); */ WARNING: line length of 88 exceeds 80 columns #462: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:428: + btf__add_func(split_btf, "f", BTF_FUNC_STATIC, 5); /* [6] int f(int *p); */ CHECK: Lines should not end with a '(' #464: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:430: + VALIDATE_RAW_BTF( WARNING: line length of 82 exceeds 80 columns #483: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:449: + err = btf__permute(split_btf, permute_ids, ARRAY_SIZE(permute_ids), NULL); CHECK: Lines should not end with a '(' #487: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:453: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #505: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:471: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #523: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:489: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #536: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:502: + VALIDATE_RAW_BTF( WARNING: line length of 81 exceeds 80 columns #566: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:532: + btf__add_decl_tag(btf, "tag1", 2, -1); /* [3] tag -> s1: tag1 */ WARNING: line length of 83 exceeds 80 columns #567: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:533: + btf__add_decl_tag(btf, "tag2", 2, 1); /* [4] tag -> s1/m: tag2 */ WARNING: line length of 83 exceeds 80 columns #568: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:534: + btf__add_decl_tag(btf, "tag3", 2, 1); /* [5] tag -> s1/m: tag3 */ CHECK: Lines should not end with a '(' #570: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:536: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #600: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:566: + VALIDATE_RAW_BTF( WARNING: line length of 95 exceeds 80 columns #622: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:588: + if (!ASSERT_EQ(hdr->str_len, ARRAY_SIZE(expect_strs_dedupped), "expect_strs_dedupped")) total: 0 errors, 18 warnings, 25 checks, 608 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 de837425329f ("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, 18 warnings, 25 checks, 608 lines checked