WARNING: line length of 93 exceeds 80 columns #79: 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 88 exceeds 80 columns #169: 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 #178: 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 #189: 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 83 exceeds 80 columns #286: FILE: kernel/bpf/verifier.c:8920: + if (reg->type == CONST_PTR_TO_DYNPTR && (arg_type & OBJ_RELEASE)) { WARNING: line length of 92 exceeds 80 columns #296: FILE: kernel/bpf/verifier.c:8932: + /* Fold modifiers (in this case, OBJ_RELEASE) when checking expected type */ WARNING: line length of 82 exceeds 80 columns #324: FILE: kernel/bpf/verifier.c:13704: + dynptr_arg_type |= DYNPTR_TYPE_FILE | OBJ_RELEASE; WARNING: line length of 99 exceeds 80 columns #346: FILE: kernel/trace/bpf_trace.c:3396: +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 #355: FILE: kernel/trace/bpf_trace.c:3538: +__bpf_kfunc int bpf_probe_read_user_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 84 exceeds 80 columns #363: FILE: kernel/trace/bpf_trace.c:3545: +__bpf_kfunc int bpf_probe_read_kernel_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 86 exceeds 80 columns #371: FILE: kernel/trace/bpf_trace.c:3552: +__bpf_kfunc int bpf_probe_read_user_str_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 88 exceeds 80 columns #379: FILE: kernel/trace/bpf_trace.c:3559: +__bpf_kfunc int bpf_probe_read_kernel_str_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 81 exceeds 80 columns #387: FILE: kernel/trace/bpf_trace.c:3566: +__bpf_kfunc int bpf_copy_from_user_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 85 exceeds 80 columns #395: FILE: kernel/trace/bpf_trace.c:3573: +__bpf_kfunc int bpf_copy_from_user_str_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 86 exceeds 80 columns #403: FILE: kernel/trace/bpf_trace.c:3580: +__bpf_kfunc int bpf_copy_from_user_task_dynptr(const struct bpf_dynptr *dptr, u64 off, WARNING: line length of 90 exceeds 80 columns #412: FILE: kernel/trace/bpf_trace.c:3588: +__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 #425: 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 #425: 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 #434: 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 #434: 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 #441: 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 #473: 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, 18 warnings, 4 checks, 367 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 249484af9c3b ("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, 18 warnings, 4 checks, 367 lines checked