WARNING: Co-developed-by and Signed-off-by: name/email do not match #21: Co-developed-by: Mykyta Yatsenko Signed-off-by: Andrii Nakryiko WARNING: line length of 82 exceeds 80 columns #67: FILE: tools/bpf/bpftool/gen.c:882: + s->maps = (struct bpf_map_skeleton *)calloc(s->map_cnt,\n\ WARNING: line length of 92 exceeds 80 columns #68: FILE: tools/bpf/bpftool/gen.c:883: + sizeof(*s->maps) > %zu ? sizeof(*s->maps) : %zu);\n\ WARNING: line length of 109 exceeds 80 columns #87: FILE: tools/bpf/bpftool/gen.c:899: + map = (struct bpf_map_skeleton *)((char *)s->maps + %zu * s->map_skel_sz);\n\ WARNING: unnecessary whitespace before a quoted newline #88: FILE: tools/bpf/bpftool/gen.c:900: + map->name = \"%s\"; \n\ WARNING: unnecessary whitespace before a quoted newline #97: FILE: tools/bpf/bpftool/gen.c:906: + printf("\tmap->mmaped = (void **)&obj->%s; \n", ident); WARNING: __always_unused or __maybe_unused is preferred over __attribute__((__unused__)) #115: FILE: tools/bpf/bpftool/gen.c:1482: + struct bpf_map_skeleton *map __attribute__((unused));\n\ WARNING: __always_unused or __maybe_unused is preferred over __attribute__((__unused__)) #123: FILE: tools/bpf/bpftool/gen.c:1773: + struct bpf_map_skeleton *map __attribute__((unused));\n\ total: 0 errors, 8 warnings, 0 checks, 91 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 692186cc24f4 ("bpftool: improve skeleton backwards compat with old buggy libbpfs") 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, 8 warnings, 0 checks, 91 lines checked