WARNING: line length of 86 exceeds 80 columns #135: FILE: tools/bpf/bpftool/btf.c:864: + printf("magic 0x%-10x\nversion %-10d\nflags 0x%-10x\nhdr_len %-10u\n", WARNING: line length of 89 exceeds 80 columns #137: FILE: tools/bpf/bpftool/btf.c:866: + printf("type_len %-10u\ntype_off %-10u\n", hdr->type_len, hdr->type_off); WARNING: line length of 85 exceeds 80 columns #138: FILE: tools/bpf/bpftool/btf.c:867: + printf("str_len %-10u\nstr_off %-10u\n", hdr->str_len, hdr->str_off); WARNING: line length of 82 exceeds 80 columns #141: FILE: tools/bpf/bpftool/btf.c:870: + if (hdr->hdr_len < sizeof(struct btf_header) || data_sz <= hdr->hdr_len) { WARNING: line length of 81 exceeds 80 columns #144: FILE: tools/bpf/bpftool/btf.c:873: + jsonw_end_object(json_wtr); /* end metadata object */ WARNING: line length of 94 exceeds 80 columns #169: FILE: tools/bpf/bpftool/btf.c:898: + jsonw_string_field(json_wtr, "name", btf_kind_str[i]); WARNING: line length of 84 exceeds 80 columns #172: FILE: tools/bpf/bpftool/btf.c:901: + jsonw_uint_field(json_wtr, "info_sz", l[i].info_sz); WARNING: line length of 84 exceeds 80 columns #173: FILE: tools/bpf/bpftool/btf.c:902: + jsonw_uint_field(json_wtr, "elem_sz", l[i].elem_sz); WARNING: line length of 81 exceeds 80 columns #179: FILE: tools/bpf/bpftool/btf.c:908: + jsonw_end_object(json_wtr); /* end metadata object */ WARNING: line length of 88 exceeds 80 columns #184: FILE: tools/bpf/bpftool/btf.c:913: + printf("kind %-4u %-10s info_sz %-4d elem_sz %-4d flags %-4d\n", total: 0 errors, 10 warnings, 0 checks, 135 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 196341a00cdc ("bpftool: add BTF dump "format meta" to dump header/metadata") 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, 10 warnings, 0 checks, 135 lines checked