CHECK: Alignment should match open parenthesis #74: FILE: include/linux/bpf.h:3863: +struct bpf_parser_context *alloc_bpf_parser_context(bpf_parser_handler_t func, + void *data); WARNING: line length of 86 exceeds 80 columns #111: FILE: kernel/bpf/bpf_buffer_parser.c:15: +static inline unsigned int bpf_parser_context_hash_key(struct bpf_parser_context *ctx) WARNING: line length of 92 exceeds 80 columns #118: FILE: kernel/bpf/bpf_buffer_parser.c:22: + struct bpf_parser_context *ctx = container_of(kref, struct bpf_parser_context, ref); CHECK: Alignment should match open parenthesis #131: FILE: kernel/bpf/bpf_buffer_parser.c:35: +struct bpf_parser_context *alloc_bpf_parser_context(bpf_parser_handler_t func, + void *data) CHECK: Please use a blank line after function/struct/union/enum declarations #199: FILE: kernel/bpf/bpf_buffer_parser.c:103: +} +CFI_NOSEAL(bpf_parser_context_release_dtor); CHECK: Comparison to NULL could be written "!context->func" #208: FILE: kernel/bpf/bpf_buffer_parser.c:112: + if (unlikely(context->func == NULL)) CHECK: Please use a blank line after function/struct/union/enum declarations #232: FILE: kernel/bpf/bpf_buffer_parser.c:136: +} +__bpf_kfunc_end_defs(); ERROR: code indent should use tabs where possible #241: FILE: kernel/bpf/bpf_buffer_parser.c:145: + .owner = THIS_MODULE,$ WARNING: please, no spaces at the start of a line #241: FILE: kernel/bpf/bpf_buffer_parser.c:145: + .owner = THIS_MODULE,$ ERROR: code indent should use tabs where possible #242: FILE: kernel/bpf/bpf_buffer_parser.c:146: + .set = &buffer_parser_ids,$ WARNING: please, no spaces at the start of a line #242: FILE: kernel/bpf/bpf_buffer_parser.c:146: + .set = &buffer_parser_ids,$ CHECK: Please don't use multiple blank lines #245: FILE: kernel/bpf/bpf_buffer_parser.c:149: + + WARNING: line length of 89 exceeds 80 columns #260: FILE: kernel/bpf/bpf_buffer_parser.c:164: + ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_TRACING, &buffer_parser_kfunc_set); WARNING: line length of 83 exceeds 80 columns #262: FILE: kernel/bpf/bpf_buffer_parser.c:166: + ARRAY_SIZE(buffer_parser_dtors), total: 2 errors, 6 warnings, 6 checks, 202 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. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile Commit 90fd33a36ae3 ("bpf: Introduce kfuncs to parser buffer content") 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.