WARNING: line length of 82 exceeds 80 columns #61: 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 '(' #65: 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:54: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #112: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:78: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #138: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:104: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #162: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:128: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #186: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:152: + VALIDATE_RAW_BTF( WARNING: line length of 84 exceeds 80 columns #214: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:180: + btf__add_ptr(base_btf, 1); /* [2] ptr to int */ CHECK: Lines should not end with a '(' #215: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:181: + VALIDATE_RAW_BTF( WARNING: line length of 85 exceeds 80 columns #222: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:188: + btf__add_struct(split_btf, "s1", 4); /* [3] struct s1 { */ WARNING: line length of 85 exceeds 80 columns #225: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:191: + btf__add_struct(split_btf, "s2", 4); /* [4] struct s2 { */ WARNING: line length of 89 exceeds 80 columns #228: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:194: + btf__add_func_proto(split_btf, 1); /* [5] int (*)(int p); */ WARNING: line length of 88 exceeds 80 columns #230: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:196: + btf__add_func(split_btf, "f", BTF_FUNC_STATIC, 5); /* [6] int f(int *p); */ CHECK: Lines should not end with a '(' #232: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:198: + VALIDATE_RAW_BTF( WARNING: line length of 82 exceeds 80 columns #248: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:214: + err = btf__permute(split_btf, permute_ids, ARRAY_SIZE(permute_ids), NULL); 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 '(' #276: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:242: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #297: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:263: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #318: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:284: + VALIDATE_RAW_BTF( WARNING: line length of 82 exceeds 80 columns #354: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:320: + btf__add_func_proto(btf, 1); /* [5] int (*)(int *p); */ CHECK: Lines should not end with a '(' #358: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:324: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #382: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:348: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #403: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:369: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #422: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:388: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #441: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:407: + VALIDATE_RAW_BTF( WARNING: line length of 84 exceeds 80 columns #472: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:438: + btf__add_ptr(base_btf, 1); /* [2] ptr to int */ CHECK: Lines should not end with a '(' #473: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:439: + VALIDATE_RAW_BTF( WARNING: line length of 85 exceeds 80 columns #480: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:446: + btf__add_struct(split_btf, "s1", 4); /* [3] struct s1 { */ WARNING: line length of 85 exceeds 80 columns #483: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:449: + btf__add_struct(split_btf, "s2", 4); /* [4] struct s2 { */ WARNING: line length of 89 exceeds 80 columns #486: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:452: + btf__add_func_proto(split_btf, 1); /* [5] int (*)(int p); */ WARNING: line length of 88 exceeds 80 columns #488: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:454: + btf__add_func(split_btf, "f", BTF_FUNC_STATIC, 5); /* [6] int f(int *p); */ CHECK: Lines should not end with a '(' #490: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:456: + VALIDATE_RAW_BTF( WARNING: line length of 82 exceeds 80 columns #507: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:473: + err = btf__permute(split_btf, permute_ids, ARRAY_SIZE(permute_ids), NULL); CHECK: Lines should not end with a '(' #511: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:477: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #529: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:495: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #547: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:513: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #560: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:526: + VALIDATE_RAW_BTF( WARNING: line length of 81 exceeds 80 columns #589: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:555: + btf__add_decl_tag(btf, "tag1", 2, -1); /* [3] tag -> s1: tag1 */ WARNING: line length of 83 exceeds 80 columns #590: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:556: + btf__add_decl_tag(btf, "tag2", 2, 1); /* [4] tag -> s1/m: tag2 */ WARNING: line length of 83 exceeds 80 columns #591: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:557: + btf__add_decl_tag(btf, "tag3", 2, 1); /* [5] tag -> s1/m: tag3 */ CHECK: Lines should not end with a '(' #593: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:559: + VALIDATE_RAW_BTF( CHECK: Lines should not end with a '(' #624: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:590: + VALIDATE_RAW_BTF( WARNING: line length of 95 exceeds 80 columns #646: FILE: tools/testing/selftests/bpf/prog_tests/btf_permute.c:612: + if (!ASSERT_EQ(hdr->str_len, ARRAY_SIZE(expect_strs_dedupped), "expect_strs_dedupped")) total: 0 errors, 18 warnings, 25 checks, 632 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 92facbc423ce ("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, 632 lines checked