WARNING: line length of 83 exceeds 80 columns #112: FILE: tools/lib/bpf/bpf.h:177: +LIBBPF_API int bpf_map_update_elem_opts(int fd, const void *key, const void *value, WARNING: line length of 85 exceeds 80 columns #113: FILE: tools/lib/bpf/bpf.h:178: + const struct bpf_map_update_elem_opts *opts); WARNING: line length of 85 exceeds 80 columns #127: FILE: tools/lib/bpf/bpf.h:192: + const struct bpf_map_lookup_elem_opts *opts); CHECK: Please use a blank line after function/struct/union/enum declarations #136: FILE: tools/lib/bpf/bpf.h:200: }; +#define bpf_map_batch_opts__last_field cpu WARNING: line length of 92 exceeds 80 columns #238: FILE: tools/lib/bpf/libbpf.h:1193: + * @param key_sz size in bytes of key data, needs to match BPF map definition's **key_size** WARNING: line length of 86 exceeds 80 columns #253: FILE: tools/lib/bpf/libbpf.h:1208: + const struct bpf_map_lookup_elem_opts *opts); WARNING: line length of 81 exceeds 80 columns #263: FILE: tools/lib/bpf/libbpf.h:1235: + * @brief **bpf_map__update_elem_opts()** allows to insert or update value in BPF WARNING: line length of 92 exceeds 80 columns #267: FILE: tools/lib/bpf/libbpf.h:1239: + * @param key_sz size in bytes of key data, needs to match BPF map definition's **key_size** WARNING: line length of 86 exceeds 80 columns #283: FILE: tools/lib/bpf/libbpf.h:1255: + const struct bpf_map_update_elem_opts *opts); total: 0 errors, 8 warnings, 1 checks, 258 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 026cd592326f ("bpf, libbpf: Support BPF_F_CPU for percpu_array map") 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, 1 checks, 258 lines checked