WARNING: line length of 84 exceeds 80 columns #82: FILE: fs/bpf_fs_kfuncs.c:203: + const struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; WARNING: line length of 93 exceeds 80 columns #95: FILE: fs/verity/measure.c:121: +__bpf_kfunc int bpf_get_fsverity_digest(struct file *file, const struct bpf_dynptr *digest_p) WARNING: line length of 86 exceeds 80 columns #98: FILE: fs/verity/measure.c:123: + const struct bpf_dynptr_kern *digest_ptr = (struct bpf_dynptr_kern *)digest_p; WARNING: line length of 88 exceeds 80 columns #223: FILE: kernel/bpf/helpers.c:3134: + const struct bpf_dynptr *src_ptr, u64 src_off, u64 size) WARNING: line length of 91 exceeds 80 columns #237: FILE: kernel/bpf/helpers.c:3188: +__bpf_kfunc int bpf_dynptr_memset(const struct bpf_dynptr *p, u64 offset, u64 size, u8 val) CHECK: Alignment should match open parenthesis #251: FILE: kernel/bpf/helpers.c:4203: +__bpf_kfunc int bpf_verify_pkcs7_signature(const struct bpf_dynptr *data_p, + const struct bpf_dynptr *sig_p, WARNING: line length of 82 exceeds 80 columns #257: FILE: kernel/bpf/helpers.c:4207: + const struct bpf_dynptr_kern *data_ptr = (struct bpf_dynptr_kern *)data_p; WARNING: line length of 83 exceeds 80 columns #355: FILE: kernel/bpf/verifier.c:7473: + if (reg->type == CONST_PTR_TO_DYNPTR && (arg_type & OBJ_RELEASE)) { WARNING: line length of 81 exceeds 80 columns #356: FILE: kernel/bpf/verifier.c:7474: + verbose(env, "CONST_PTR_TO_DYNPTR cannot be released\n"); WARNING: line length of 92 exceeds 80 columns #366: FILE: kernel/bpf/verifier.c:7485: + /* Fold modifiers (in this case, OBJ_RELEASE) when checking expected type */ WARNING: line length of 82 exceeds 80 columns #367: FILE: kernel/bpf/verifier.c:7486: + if (!is_dynptr_type_expected(env, reg, arg_type & ~OBJ_RELEASE)) { WARNING: line length of 82 exceeds 80 columns #395: FILE: kernel/bpf/verifier.c:12251: + dynptr_arg_type |= DYNPTR_TYPE_FILE | OBJ_RELEASE; WARNING: line length of 99 exceeds 80 columns #417: FILE: kernel/trace/bpf_trace.c:3400: +static __always_inline int __bpf_dynptr_copy_str(const struct bpf_dynptr *dptr, u64 doff, u64 size, WARNING: line length of 82 exceeds 80 columns #441: FILE: kernel/trace/bpf_trace.c:3542: +__bpf_kfunc int bpf_probe_read_user_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 84 exceeds 80 columns #449: FILE: kernel/trace/bpf_trace.c:3549: +__bpf_kfunc int bpf_probe_read_kernel_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 86 exceeds 80 columns #457: FILE: kernel/trace/bpf_trace.c:3556: +__bpf_kfunc int bpf_probe_read_user_str_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 88 exceeds 80 columns #465: FILE: kernel/trace/bpf_trace.c:3563: +__bpf_kfunc int bpf_probe_read_kernel_str_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 81 exceeds 80 columns #473: FILE: kernel/trace/bpf_trace.c:3570: +__bpf_kfunc int bpf_copy_from_user_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 85 exceeds 80 columns #481: FILE: kernel/trace/bpf_trace.c:3577: +__bpf_kfunc int bpf_copy_from_user_str_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 86 exceeds 80 columns #489: FILE: kernel/trace/bpf_trace.c:3584: +__bpf_kfunc int bpf_copy_from_user_task_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 90 exceeds 80 columns #498: FILE: kernel/trace/bpf_trace.c:3592: +__bpf_kfunc int bpf_copy_from_user_task_str_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 91 exceeds 80 columns #511: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:43: +extern int bpf_dynptr_adjust(struct bpf_dynptr *ptr, __u64 start, __u64 end) __ksym __weak; CHECK: extern prototypes should be avoided in .h files #511: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:43: +extern int bpf_dynptr_adjust(struct bpf_dynptr *ptr, __u64 start, __u64 end) __ksym __weak; WARNING: line length of 98 exceeds 80 columns #520: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:73: +extern int bpf_get_fsverity_digest(struct file *file, const struct bpf_dynptr *digest_ptr) __ksym; CHECK: extern prototypes should be avoided in .h files #520: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:73: +extern int bpf_get_fsverity_digest(struct file *file, const struct bpf_dynptr *digest_ptr) __ksym; CHECK: extern prototypes should be avoided in .h files #527: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:78: +extern int bpf_verify_pkcs7_signature(const struct bpf_dynptr *data_ptr, WARNING: line length of 83 exceeds 80 columns #559: FILE: tools/testing/selftests/bpf/progs/dynptr_success.c:1117: +static int bpf_copy_data_from_user_task_str(const struct bpf_dynptr *dptr, u64 off, total: 0 errors, 23 warnings, 4 checks, 441 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 d4f3747249d3 ("bpf: Refactor dynptr mutability tracking") 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, 23 warnings, 4 checks, 441 lines checked