WARNING: line length of 90 exceeds 80 columns #38: FILE: tools/lib/bpf/bpf.c:885: + attr.link_create.struct_ops.cookie = OPTS_GET(opts, struct_ops.cookie, 0); WARNING: line length of 88 exceeds 80 columns #71: FILE: tools/lib/bpf/libbpf.c:13117: + const struct bpf_struct_ops_opts *opts) ERROR: space prohibited before that ':' (ctx:WxV) #107: FILE: tools/lib/bpf/libbpf.h:901: + size_t :0; ^ CHECK: Please use a blank line after function/struct/union/enum declarations #109: FILE: tools/lib/bpf/libbpf.h:903: +}; +#define bpf_struct_ops_opts__last_field cookie WARNING: line length of 86 exceeds 80 columns #111: FILE: tools/lib/bpf/libbpf.h:905: +LIBBPF_API struct bpf_link *bpf_map__attach_struct_ops_opts(const struct bpf_map *map, WARNING: line length of 100 exceeds 80 columns #112: FILE: tools/lib/bpf/libbpf.h:906: + const struct bpf_struct_ops_opts* opts); ERROR: "foo* bar" should be "foo *bar" #112: FILE: tools/lib/bpf/libbpf.h:906: + const struct bpf_struct_ops_opts* opts); total: 2 errors, 4 warnings, 1 checks, 73 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 fea69d6a2765 ("libbpf: Support link-based struct_ops attach with options") 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.