WARNING: line length of 90 exceeds 80 columns #59: FILE: tools/bpf/bpftool/gen.c:95: + static const char *sfxs[] = { ".data", ".rodata", ".bss", ".percpu", ".kconfig" }; WARNING: static const char * array should probably be static const char * const #59: FILE: tools/bpf/bpftool/gen.c:95: + static const char *sfxs[] = { ".data", ".rodata", ".bss", ".percpu", ".kconfig" }; WARNING: line length of 90 exceeds 80 columns #68: FILE: tools/bpf/bpftool/gen.c:120: + static const char *pfxs[] = { ".data", ".rodata", ".bss", ".percpu", ".kconfig" }; WARNING: static const char * array should probably be static const char * const #68: FILE: tools/bpf/bpftool/gen.c:120: + static const char *pfxs[] = { ".data", ".rodata", ".bss", ".percpu", ".kconfig" }; WARNING: line length of 92 exceeds 80 columns #78: FILE: tools/bpf/bpftool/gen.c:259: + return bpf_map__is_internal(map) && bpf_map__type(map) == BPF_MAP_TYPE_PERCPU_ARRAY; WARNING: line length of 90 exceeds 80 columns #94: FILE: tools/bpf/bpftool/gen.c:272: + ((bpf_map__map_flags(map) & BPF_F_MMAPABLE) || bpf_map_is_percpu_data(map)) && WARNING: line length of 96 exceeds 80 columns #108: FILE: tools/bpf/bpftool/gen.c:676: + ((bpf_map__map_flags(map) & BPF_F_MMAPABLE) || bpf_map_is_percpu_data(map))) WARNING: line length of 95 exceeds 80 columns #117: FILE: tools/bpf/bpftool/gen.c:854: + if (!is_mmapable_map(map, ident, sizeof(ident)) || bpf_map_is_percpu_data(map)) total: 0 errors, 8 warnings, 0 checks, 61 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 7b9223953f51 ("bpftool: Generate skeleton for global percpu data") 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, 8 warnings, 0 checks, 61 lines checked