WARNING: line length of 81 exceeds 80 columns #98: FILE: tools/lib/bpf/btf.c:86: + * +----------+---------+-----------+---------------------+ WARNING: line length of 81 exceeds 80 columns #99: FILE: tools/lib/bpf/btf.c:87: + * | Header | Types | Strings | Optional kind layout| WARNING: line length of 81 exceeds 80 columns #100: FILE: tools/lib/bpf/btf.c:88: + * raw_data----->+----------+---------+-----------+---------------------+ WARNING: line length of 92 exceeds 80 columns #111: FILE: tools/lib/bpf/btf.c:138: + /* 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:244: + /* 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:281: + /* 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:290: + sizeof(struct btf_header)); WARNING: line length of 85 exceeds 80 columns #198: FILE: tools/lib/bpf/btf.c:298: + 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:300: + btf->hdr->type_off, btf->hdr->type_len, btf->hdr->str_off, WARNING: line length of 89 exceeds 80 columns #236: FILE: tools/lib/bpf/btf.c:353: + btf->kind_layout = btf->raw_data + btf->hdr->hdr_len + btf->hdr->kind_layout_off; WARNING: line length of 98 exceeds 80 columns #392: FILE: tools/lib/bpf/btf.c:1829: + memcpy(kind_layout, btf->raw_data + btf->hdr->hdr_len + btf->hdr->kind_layout_off, total: 0 errors, 11 warnings, 0 checks, 383 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 3f296612f574 ("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 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, 383 lines checked