WARNING: line length of 87 exceeds 80 columns #54: FILE: tools/testing/selftests/bpf/prog_tests/btf_kind.c:31: + ASSERT_EQ(hdr->str_off, hdr->layout_off + hdr->layout_len, "str_after_layout"); WARNING: line length of 83 exceeds 80 columns #70: FILE: tools/testing/selftests/bpf/prog_tests/btf_kind.c:47: + ASSERT_EQ(hdr->str_off, hdr->type_off + hdr->type_len, "strs_after_types"); WARNING: Missing a blank line after declarations #101: FILE: tools/testing/selftests/bpf/prog_tests/btf_kind.c:78: + __s32 int_id, unrec_id, id, id2; + LIBBPF_OPTS(btf_new_opts, opts); WARNING: line length of 82 exceeds 80 columns #163: FILE: tools/testing/selftests/bpf/prog_tests/btf_kind.c:140: + t = (void *)hdr + hdr->hdr_len + hdr->type_off + sizeof(struct btf_type) + WARNING: line length of 85 exceeds 80 columns #203: FILE: tools/testing/selftests/bpf/prog_tests/btf_kind.c:180: + /* id of "test_lookup2" will be id2 -1 as we have removed one type */ CHECK: Blank lines aren't necessary before a close brace '}' #208: FILE: tools/testing/selftests/bpf/prog_tests/btf_kind.c:185: + + } WARNING: line length of 85 exceeds 80 columns #228: FILE: tools/testing/selftests/bpf/prog_tests/btf_kind.c:205: + /* id of "test_lookup2" will be id2 -1 as we have removed one type */ CHECK: Blank lines aren't necessary before a close brace '}' #233: FILE: tools/testing/selftests/bpf/prog_tests/btf_kind.c:210: + + } total: 0 errors, 6 warnings, 2 checks, 226 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 38a9828ce3bf ("selftests/bpf: Test kind encoding/decoding") 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, 6 warnings, 2 checks, 226 lines checked