WARNING: line length of 81 exceeds 80 columns #98: FILE: tools/lib/bpf/btf.c:85: + * +----------+---------+-----------+---------------------+ WARNING: line length of 81 exceeds 80 columns #99: FILE: tools/lib/bpf/btf.c:86: + * | Header | Types | Strings | Optional kind layout| WARNING: line length of 81 exceeds 80 columns #100: FILE: tools/lib/bpf/btf.c:87: + * raw_data----->+----------+---------+-----------+---------------------+ WARNING: line length of 92 exceeds 80 columns #111: FILE: tools/lib/bpf/btf.c:137: + /* is BTF modifiable? i.e. is it split into separate sections as described above? */ WARNING: line length of 90 exceeds 80 columns #134: FILE: tools/lib/bpf/btf.c:243: + /* May be operating on raw data with hdr_len that does not include below fields */ WARNING: line length of 83 exceeds 80 columns #180: FILE: tools/lib/bpf/btf.c:280: + /* At this point, we have basic header information, so allocate btf->hdr */ WARNING: line length of 95 exceeds 80 columns #189: FILE: tools/lib/bpf/btf.c:289: + sizeof(struct btf_header)); WARNING: line length of 85 exceeds 80 columns #198: FILE: tools/lib/bpf/btf.c:297: + if ((long long)btf->hdr->type_off + btf->hdr->type_len > btf->hdr->str_off) { WARNING: line length of 83 exceeds 80 columns #201: FILE: tools/lib/bpf/btf.c:299: + btf->hdr->type_off, btf->hdr->type_len, btf->hdr->str_off, WARNING: line length of 89 exceeds 80 columns #226: FILE: tools/lib/bpf/btf.c:342: + btf->kind_layout = btf->raw_data + btf->hdr->hdr_len + btf->hdr->kind_layout_off; WARNING: line length of 98 exceeds 80 columns #380: FILE: tools/lib/bpf/btf.c:1816: + memcpy(kind_layout, btf->raw_data + btf->hdr->hdr_len + btf->hdr->kind_layout_off, total: 0 errors, 11 warnings, 0 checks, 371 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 3cfe848b7090 ("libbpf: Support kind layout section handling in BTF") 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, 11 warnings, 0 checks, 371 lines checked