WARNING: line length of 98 exceeds 80 columns #57: FILE: include/linux/bpf.h:1393: +static inline int bpf_dynptr_check_off_len(const struct bpf_dynptr_kern *ptr, u64 offset, u64 len) WARNING: line length of 83 exceeds 80 columns #98: FILE: kernel/bpf/helpers.c:1754: +static int __bpf_dynptr_read(void *dst, u64 len, const struct bpf_dynptr_kern *src, WARNING: line length of 87 exceeds 80 columns #109: FILE: kernel/bpf/helpers.c:1791: +BPF_CALL_5(bpf_dynptr_read, void *, dst, u64, len, const struct bpf_dynptr_kern *, src, WARNING: line length of 81 exceeds 80 columns #157: FILE: kernel/bpf/helpers.c:2804: +__bpf_kfunc int bpf_dynptr_adjust(const struct bpf_dynptr *p, u64 start, u64 end) WARNING: line length of 82 exceeds 80 columns #181: FILE: kernel/bpf/helpers.c:2878: + struct bpf_dynptr *src_ptr, u64 src_off, u64 size) WARNING: line length of 85 exceeds 80 columns #207: FILE: kernel/bpf/helpers.c:2932: +__bpf_kfunc int bpf_dynptr_memset(struct bpf_dynptr *p, u64 offset, u64 size, u8 val) WARNING: line length of 93 exceeds 80 columns #256: FILE: kernel/trace/bpf_trace.c:3375: +static __always_inline int __bpf_dynptr_copy_str(struct bpf_dynptr *dptr, u64 doff, u64 size, WARNING: line length of 85 exceeds 80 columns #282: FILE: kernel/trace/bpf_trace.c:3412: +static __always_inline int __bpf_dynptr_copy(const struct bpf_dynptr *dptr, u64 doff, WARNING: line length of 88 exceeds 80 columns #310: FILE: kernel/trace/bpf_trace.c:3518: + u64 size, const void __user *unsafe_ptr__ign) WARNING: line length of 83 exceeds 80 columns #319: FILE: kernel/trace/bpf_trace.c:3525: + u64 size, const void *unsafe_ptr__ign) WARNING: line length of 92 exceeds 80 columns #328: FILE: kernel/trace/bpf_trace.c:3532: + u64 size, const void __user *unsafe_ptr__ign) WARNING: line length of 82 exceeds 80 columns #336: FILE: kernel/trace/bpf_trace.c:3538: +__bpf_kfunc int bpf_probe_read_kernel_str_dynptr(struct bpf_dynptr *dptr, u64 off, WARNING: line length of 87 exceeds 80 columns #337: FILE: kernel/trace/bpf_trace.c:3539: + u64 size, const void *unsafe_ptr__ign) WARNING: line length of 87 exceeds 80 columns #346: FILE: kernel/trace/bpf_trace.c:3546: + u64 size, const void __user *unsafe_ptr__ign) WARNING: line length of 91 exceeds 80 columns #355: FILE: kernel/trace/bpf_trace.c:3553: + u64 size, const void __user *unsafe_ptr__ign) WARNING: line length of 92 exceeds 80 columns #364: FILE: kernel/trace/bpf_trace.c:3560: + u64 size, const void __user *unsafe_ptr__ign, WARNING: line length of 84 exceeds 80 columns #373: FILE: kernel/trace/bpf_trace.c:3567: +__bpf_kfunc int bpf_copy_from_user_task_str_dynptr(struct bpf_dynptr *dptr, u64 off, WARNING: line length of 96 exceeds 80 columns #374: FILE: kernel/trace/bpf_trace.c:3568: + u64 size, const void __user *unsafe_ptr__ign, CHECK: extern prototypes should be avoided in .h files #388: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:31: +extern void *bpf_dynptr_slice(const struct bpf_dynptr *ptr, __u64 offset, CHECK: extern prototypes should be avoided in .h files #399: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:40: +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *ptr, __u64 offset, CHECK: Alignment should match open parenthesis #400: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:41: +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *ptr, __u64 offset, + void *buffer, __u64 buffer__szk) __ksym __weak; WARNING: line length of 97 exceeds 80 columns #403: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:43: +extern int bpf_dynptr_adjust(const struct bpf_dynptr *ptr, __u64 start, __u64 end) __ksym __weak; CHECK: extern prototypes should be avoided in .h files #403: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:43: +extern int bpf_dynptr_adjust(const struct bpf_dynptr *ptr, __u64 start, __u64 end) __ksym __weak; CHECK: extern prototypes should be avoided in .h files #407: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:46: +extern __u64 bpf_dynptr_size(const struct bpf_dynptr *ptr) __ksym __weak; total: 0 errors, 19 warnings, 5 checks, 373 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 f44cb523711e ("bpf: widen dynptr size/offset to 64 bit") 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, 19 warnings, 5 checks, 373 lines checked