CHECK: Alignment should match open parenthesis #68: FILE: kernel/bpf/syscall.c:5788: + pr_debug(".BTF.ext %s section is not aligned to 4 bytes\n", + ext_sec->desc); WARNING: line length of 81 exceeds 80 columns #101: FILE: kernel/bpf/syscall.c:5821: + pr_debug("%s section in .BTF.ext has no records", ext_sec->desc); CHECK: Alignment should match open parenthesis #112: FILE: kernel/bpf/syscall.c:5832: + pr_debug("%s section header is not found in .BTF.ext\n", + ext_sec->desc); CHECK: Alignment should match open parenthesis #119: FILE: kernel/bpf/syscall.c:5839: + pr_debug("%s section has incorrect num_records in .BTF.ext\n", + ext_sec->desc); WARNING: line length of 82 exceeds 80 columns #123: FILE: kernel/bpf/syscall.c:5843: + total_record_size = sec_hdrlen + (__u64)num_records * record_size; CHECK: Alignment should match open parenthesis #126: FILE: kernel/bpf/syscall.c:5846: + pr_debug("%s section has incorrect num_records in .BTF.ext\n", + ext_sec->desc); CHECK: Blank lines aren't necessary after an open brace '{' #185: FILE: kernel/bpf/syscall.c:5905: +{ + WARNING: line length of 88 exceeds 80 columns #249: FILE: kernel/bpf/syscall.c:5969: + if (btf_ext->hdr->hdr_len < offsetofend(struct btf_ext_header, line_info_len)) { WARNING: line length of 86 exceeds 80 columns #262: FILE: kernel/bpf/syscall.c:5982: + if (btf_ext->hdr->hdr_len < offsetofend(struct btf_ext_header, core_relo_len)) total: 0 errors, 4 warnings, 5 checks, 258 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 8a790fb14f04 ("bpf: Port .btf.ext parsing functions from userspace") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE 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, 4 warnings, 5 checks, 258 lines checked