WARNING: line length of 92 exceeds 80 columns #111: FILE: tools/lib/bpf/btf.c:139: + /* 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:245: + /* May be operating on raw data with hdr_len that does not include below fields */ WARNING: line length of 82 exceeds 80 columns #190: FILE: tools/lib/bpf/btf.c:291: + if ((long long)btf->hdr.type_off + btf->hdr.type_len > btf->hdr.str_off) { WARNING: line length of 85 exceeds 80 columns #212: FILE: tools/lib/bpf/btf.c:311: + if (btf->hdr.layout_off < (long long)btf->hdr.type_off + btf->hdr.type_len) { WARNING: line length of 86 exceeds 80 columns #218: FILE: tools/lib/bpf/btf.c:317: + if ((long long)btf->hdr.layout_off + btf->hdr.layout_len > btf->hdr.str_off || WARNING: line length of 85 exceeds 80 columns #221: FILE: tools/lib/bpf/btf.c:320: + btf->hdr.layout_off, btf->hdr.layout_len, btf->hdr.str_off); WARNING: line length of 88 exceeds 80 columns #238: FILE: tools/lib/bpf/btf.c:333: + if (!btf->hdr.str_len || btf->hdr.str_len - 1 > BTF_MAX_STR_OFFSET || end[-1]) { WARNING: line length of 85 exceeds 80 columns #314: FILE: tools/lib/bpf/btf.c:1137: + btf->start_str_off = base_btf->hdr.str_len + base_btf->start_str_off; WARNING: line length of 85 exceeds 80 columns #346: FILE: tools/lib/bpf/btf.c:1190: + btf->start_str_off = base_btf->hdr.str_len + base_btf->start_str_off; WARNING: line length of 86 exceeds 80 columns #455: FILE: tools/lib/bpf/btf.c:1881: + memcpy(layout, btf->raw_data + btf->hdr.hdr_len + btf->hdr.layout_off, WARNING: line length of 82 exceeds 80 columns #583: FILE: tools/lib/bpf/btf.c:2202: + memset(btf->strs_data + old_strs_len, 0, btf->hdr.str_len - old_strs_len); WARNING: line length of 96 exceeds 80 columns #668: FILE: tools/lib/bpf/btf.c:5499: + d->btf->raw_size = d->btf->hdr.hdr_len + d->btf->hdr.type_len + d->btf->hdr.layout_len + total: 0 errors, 12 warnings, 0 checks, 644 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 91d561863814 ("libbpf: Support 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, 12 warnings, 0 checks, 644 lines checked