WARNING: line length of 128 exceeds 80 columns #27: FILE: tools/bpf/bpftool/gen.c:1374: + static inline struct %1$s *open_and_load_opts(const struct bpf_object_open_opts *opts = nullptr); \n\ CHECK: spaces preferred around that '%' (ctx:WxV) #27: FILE: tools/bpf/bpftool/gen.c:1374: + static inline struct %1$s *open_and_load_opts(const struct bpf_object_open_opts *opts = nullptr); \n\ ^ CHECK: spaces preferred around that '*' (ctx:WxV) #27: FILE: tools/bpf/bpftool/gen.c:1374: + static inline struct %1$s *open_and_load_opts(const struct bpf_object_open_opts *opts = nullptr); \n\ ^ WARNING: line length of 84 exceeds 80 columns #36: FILE: tools/bpf/bpftool/gen.c:1442: + %1$s__open_and_load_opts(const struct bpf_object_open_opts *opts)\n\ CHECK: spaces preferred around that '%' (ctx:ExV) #36: FILE: tools/bpf/bpftool/gen.c:1442: + %1$s__open_and_load_opts(const struct bpf_object_open_opts *opts)\n\ ^ CHECK: spaces preferred around that '%' (ctx:WxV) #42: FILE: tools/bpf/bpftool/gen.c:1447: + obj = %1$s__open_opts(opts); \n\ ^ CHECK: spaces preferred around that '%' (ctx:WxV) #50: FILE: tools/bpf/bpftool/gen.c:1459: + static inline struct %1$s * \n\ ^ CHECK: No space is necessary after a cast #51: FILE: tools/bpf/bpftool/gen.c:1460: + %1$s__open_and_load(void) \n\ CHECK: spaces preferred around that '%' (ctx:ExV) #51: FILE: tools/bpf/bpftool/gen.c:1460: + %1$s__open_and_load(void) \n\ ^ CHECK: spaces preferred around that '%' (ctx:WxV) #53: FILE: tools/bpf/bpftool/gen.c:1462: + return %1$s__open_and_load_opts(NULL); \n\ ^ WARNING: line length of 87 exceeds 80 columns #64: FILE: tools/bpf/bpftool/gen.c:1540: + struct %1$s *%1$s::open_and_load() { return %1$s__open_and_load(); }\n\ CHECK: spaces preferred around that '%' (ctx:WxV) #64: FILE: tools/bpf/bpftool/gen.c:1540: + struct %1$s *%1$s::open_and_load() { return %1$s__open_and_load(); }\n\ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #64: FILE: tools/bpf/bpftool/gen.c:1540: + struct %1$s *%1$s::open_and_load() { return %1$s__open_and_load(); }\n\ ^ CHECK: spaces preferred around that '%' (ctx:OxV) #64: FILE: tools/bpf/bpftool/gen.c:1540: + struct %1$s *%1$s::open_and_load() { return %1$s__open_and_load(); }\n\ ^ CHECK: spaces preferred around that '%' (ctx:WxV) #64: FILE: tools/bpf/bpftool/gen.c:1540: + struct %1$s *%1$s::open_and_load() { return %1$s__open_and_load(); }\n\ ^ ERROR: space required after that close brace '}' #64: FILE: tools/bpf/bpftool/gen.c:1540: + struct %1$s *%1$s::open_and_load() { return %1$s__open_and_load(); }\n\ WARNING: line length of 97 exceeds 80 columns #65: FILE: tools/bpf/bpftool/gen.c:1541: + struct %1$s *%1$s::open_and_load_opts(const struct bpf_object_open_opts *opts)\n\ CHECK: spaces preferred around that '%' (ctx:WxV) #65: FILE: tools/bpf/bpftool/gen.c:1541: + struct %1$s *%1$s::open_and_load_opts(const struct bpf_object_open_opts *opts)\n\ ^ CHECK: spaces preferred around that '*' (ctx:WxO) #65: FILE: tools/bpf/bpftool/gen.c:1541: + struct %1$s *%1$s::open_and_load_opts(const struct bpf_object_open_opts *opts)\n\ ^ CHECK: spaces preferred around that '%' (ctx:OxV) #65: FILE: tools/bpf/bpftool/gen.c:1541: + struct %1$s *%1$s::open_and_load_opts(const struct bpf_object_open_opts *opts)\n\ ^ CHECK: spaces preferred around that '%' (ctx:WxV) #67: FILE: tools/bpf/bpftool/gen.c:1543: + return %1$s__open_and_load_opts(opts); \n\ ^ total: 1 errors, 4 warnings, 16 checks, 45 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 1aa455daaf59 ("bpftool: skel: Introduce NAME__open_and_load_opts()") 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.