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 #181: FILE: tools/lib/bpf/btf.c:281: + /* At this point, we have basic header information, so allocate btf->hdr */ WARNING: line length of 85 exceeds 80 columns #196: FILE: tools/lib/bpf/btf.c:295: + if ((long long)btf->hdr->type_off + btf->hdr->type_len > btf->hdr->str_off) { WARNING: line length of 83 exceeds 80 columns #199: FILE: tools/lib/bpf/btf.c:297: + btf->hdr->type_off, btf->hdr->type_len, btf->hdr->str_off, WARNING: line length of 89 exceeds 80 columns #245: FILE: tools/lib/bpf/btf.c:357: + btf->kind_layout = btf->raw_data + btf->hdr->hdr_len + btf->hdr->kind_layout_off; WARNING: line length of 98 exceeds 80 columns #399: FILE: tools/lib/bpf/btf.c:1831: + memcpy(kind_layout, btf->raw_data + btf->hdr->hdr_len + btf->hdr->kind_layout_off, WARNING: line length of 95 exceeds 80 columns #445: FILE: tools/lib/bpf/btf.c:1941: + btf->hdr->kind_layout_off = btf->hdr->type_len + roundup(btf->hdr->str_len, 4); WARNING: line length of 85 exceeds 80 columns #452: FILE: tools/lib/bpf/btf.c:1948: + btf->hdr->kind_layout_off = btf->hdr->type_len + roundup(new_len, 4); WARNING: line length of 99 exceeds 80 columns #551: FILE: tools/lib/bpf/btf.c:5448: + d->btf->hdr->kind_layout_off = d->btf->hdr->str_off + roundup(d->btf->hdr->str_len, WARNING: line length of 81 exceeds 80 columns #552: FILE: tools/lib/bpf/btf.c:5449: + 4); WARNING: line length of 95 exceeds 80 columns #553: FILE: tools/lib/bpf/btf.c:5450: + d->btf->raw_size = roundup(d->btf->raw_size, 4) + d->btf->hdr->kind_layout_len; total: 0 errors, 15 warnings, 0 checks, 501 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 fec2d8d616e8 ("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, 15 warnings, 0 checks, 501 lines checked