WARNING: line length of 98 exceeds 80 columns #60: FILE: include/linux/bpf.h:1400: +static inline int bpf_dynptr_check_off_len(const struct bpf_dynptr_kern *ptr, u64 offset, u64 len) WARNING: line length of 84 exceeds 80 columns #76: FILE: include/uapi/linux/bpf.h:5621: + * long bpf_dynptr_from_mem(void *data, u64 size, u64 flags, struct bpf_dynptr *ptr) WARNING: line length of 96 exceeds 80 columns #85: FILE: include/uapi/linux/bpf.h:5664: + * long bpf_dynptr_read(void *dst, u64 len, const struct bpf_dynptr *src, u64 offset, u64 flags) WARNING: line length of 97 exceeds 80 columns #94: FILE: include/uapi/linux/bpf.h:5674: + * long bpf_dynptr_write(const struct bpf_dynptr *dst, u64 offset, void *src, u64 len, u64 flags) WARNING: line length of 99 exceeds 80 columns #140: FILE: kernel/bpf/helpers.c:1718: +BPF_CALL_4(bpf_dynptr_from_mem, void *, data, u64, size, u64, flags, struct bpf_dynptr_kern *, ptr) WARNING: line length of 83 exceeds 80 columns #150: FILE: kernel/bpf/helpers.c:1753: +static int __bpf_dynptr_read(void *dst, u64 len, const struct bpf_dynptr_kern *src, WARNING: line length of 87 exceeds 80 columns #161: FILE: kernel/bpf/helpers.c:1790: +BPF_CALL_5(bpf_dynptr_read, void *, dst, u64, len, const struct bpf_dynptr_kern *, src, WARNING: line length of 91 exceeds 80 columns #183: FILE: kernel/bpf/helpers.c:1851: +BPF_CALL_5(bpf_dynptr_write, const struct bpf_dynptr_kern *, dst, u64, offset, void *, src, WARNING: line length of 87 exceeds 80 columns #193: FILE: kernel/bpf/helpers.c:1868: +BPF_CALL_3(bpf_dynptr_data, const struct bpf_dynptr_kern *, ptr, u64, offset, u64, len) WARNING: line length of 81 exceeds 80 columns #229: FILE: kernel/bpf/helpers.c:2803: +__bpf_kfunc int bpf_dynptr_adjust(const struct bpf_dynptr *p, u64 start, u64 end) WARNING: line length of 82 exceeds 80 columns #253: FILE: kernel/bpf/helpers.c:2877: + struct bpf_dynptr *src_ptr, u64 src_off, u64 size) WARNING: line length of 85 exceeds 80 columns #279: FILE: kernel/bpf/helpers.c:2931: +__bpf_kfunc int bpf_dynptr_memset(struct bpf_dynptr *p, u64 offset, u64 size, u8 val) WARNING: line length of 93 exceeds 80 columns #328: 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 #354: 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 #382: FILE: kernel/trace/bpf_trace.c:3518: + u64 size, const void __user *unsafe_ptr__ign) WARNING: line length of 83 exceeds 80 columns #391: FILE: kernel/trace/bpf_trace.c:3525: + u64 size, const void *unsafe_ptr__ign) WARNING: line length of 92 exceeds 80 columns #400: FILE: kernel/trace/bpf_trace.c:3532: + u64 size, const void __user *unsafe_ptr__ign) WARNING: line length of 82 exceeds 80 columns #408: 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 #409: FILE: kernel/trace/bpf_trace.c:3539: + u64 size, const void *unsafe_ptr__ign) WARNING: line length of 87 exceeds 80 columns #418: FILE: kernel/trace/bpf_trace.c:3546: + u64 size, const void __user *unsafe_ptr__ign) WARNING: line length of 91 exceeds 80 columns #427: FILE: kernel/trace/bpf_trace.c:3553: + u64 size, const void __user *unsafe_ptr__ign) WARNING: line length of 92 exceeds 80 columns #436: FILE: kernel/trace/bpf_trace.c:3560: + u64 size, const void __user *unsafe_ptr__ign, WARNING: line length of 84 exceeds 80 columns #445: 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 #446: FILE: kernel/trace/bpf_trace.c:3568: + u64 size, const void __user *unsafe_ptr__ign, WARNING: line length of 84 exceeds 80 columns #459: FILE: tools/include/uapi/linux/bpf.h:5621: + * long bpf_dynptr_from_mem(void *data, u64 size, u64 flags, struct bpf_dynptr *ptr) WARNING: line length of 96 exceeds 80 columns #468: FILE: tools/include/uapi/linux/bpf.h:5664: + * long bpf_dynptr_read(void *dst, u64 len, const struct bpf_dynptr *src, u64 offset, u64 flags) WARNING: line length of 97 exceeds 80 columns #477: FILE: tools/include/uapi/linux/bpf.h:5674: + * long bpf_dynptr_write(const struct bpf_dynptr *dst, u64 offset, void *src, u64 len, u64 flags) CHECK: extern prototypes should be avoided in .h files #500: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:31: +extern void *bpf_dynptr_slice(const struct bpf_dynptr *ptr, __u64 offset, WARNING: line length of 92 exceeds 80 columns #511: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:40: +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *ptr, __u64 offset, void *buffer, CHECK: extern prototypes should be avoided in .h files #511: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:40: +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *ptr, __u64 offset, void *buffer, WARNING: line length of 97 exceeds 80 columns #515: 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 #515: 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 #519: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:46: +extern __u64 bpf_dynptr_size(const struct bpf_dynptr *ptr) __ksym __weak; total: 0 errors, 29 warnings, 4 checks, 463 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 9a40450c926f ("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, 29 warnings, 4 checks, 463 lines checked