WARNING: line length of 82 exceeds 80 columns #63: FILE: kernel/bpf/helpers.c:3387: +BTF_ID_FLAGS(func, bpf_copy_from_user_task_dynptr, KF_SLEEPABLE | KF_TRUSTED_ARGS) WARNING: line length of 86 exceeds 80 columns #64: FILE: kernel/bpf/helpers.c:3388: +BTF_ID_FLAGS(func, bpf_copy_from_user_task_str_dynptr, KF_SLEEPABLE | KF_TRUSTED_ARGS) WARNING: line length of 88 exceeds 80 columns #76: FILE: kernel/trace/bpf_trace.c:3469: +typedef int (*copy_fn_t)(void *dst, const void *src, u32 size, struct task_struct *tsk); WARNING: line length of 93 exceeds 80 columns #84: FILE: kernel/trace/bpf_trace.c:3477: +static __always_inline int __bpf_dynptr_copy_str(struct bpf_dynptr *dptr, u32 doff, u32 size, WARNING: line length of 83 exceeds 80 columns #106: FILE: kernel/trace/bpf_trace.c:3499: + * zero terminator. Next iteration increment off by chunk_sz - 1 to WARNING: line length of 85 exceeds 80 columns #121: FILE: kernel/trace/bpf_trace.c:3514: +static __always_inline int __bpf_dynptr_copy(const struct bpf_dynptr *dptr, u32 doff, WARNING: line length of 88 exceeds 80 columns #123: FILE: kernel/trace/bpf_trace.c:3516: + copy_fn_t copy_fn, struct task_struct *tsk) WARNING: line length of 84 exceeds 80 columns #151: FILE: kernel/trace/bpf_trace.c:3544: +static __always_inline int copy_user_data_nofault(void *dst, const void *unsafe_src, WARNING: line length of 84 exceeds 80 columns #152: FILE: kernel/trace/bpf_trace.c:3545: + u32 size, struct task_struct *tsk) WARNING: line length of 82 exceeds 80 columns #154: FILE: kernel/trace/bpf_trace.c:3547: + return copy_from_user_nofault(dst, (const void __user *)unsafe_src, size); WARNING: line length of 86 exceeds 80 columns #157: FILE: kernel/trace/bpf_trace.c:3550: +static __always_inline int copy_user_data_sleepable(void *dst, const void *unsafe_src, WARNING: line length of 86 exceeds 80 columns #158: FILE: kernel/trace/bpf_trace.c:3551: + u32 size, struct task_struct *tsk) WARNING: line length of 82 exceeds 80 columns #163: FILE: kernel/trace/bpf_trace.c:3556: + return copy_from_user(dst, (const void __user *)unsafe_src, size); WARNING: line length of 86 exceeds 80 columns #171: FILE: kernel/trace/bpf_trace.c:3564: +static __always_inline int copy_kernel_data_nofault(void *dst, const void *unsafe_src, WARNING: line length of 86 exceeds 80 columns #172: FILE: kernel/trace/bpf_trace.c:3565: + u32 size, struct task_struct *tsk) WARNING: line length of 83 exceeds 80 columns #177: FILE: kernel/trace/bpf_trace.c:3570: +static __always_inline int copy_user_str_nofault(void *dst, const void *unsafe_src, WARNING: line length of 83 exceeds 80 columns #178: FILE: kernel/trace/bpf_trace.c:3571: + u32 size, struct task_struct *tsk) WARNING: line length of 85 exceeds 80 columns #180: FILE: kernel/trace/bpf_trace.c:3573: + return strncpy_from_user_nofault(dst, (const void __user *)unsafe_src, size); WARNING: line length of 85 exceeds 80 columns #183: FILE: kernel/trace/bpf_trace.c:3576: +static __always_inline int copy_user_str_sleepable(void *dst, const void *unsafe_src, WARNING: line length of 85 exceeds 80 columns #184: FILE: kernel/trace/bpf_trace.c:3577: + u32 size, struct task_struct *tsk) WARNING: line length of 87 exceeds 80 columns #192: FILE: kernel/trace/bpf_trace.c:3585: + ret = copy_remote_vm_str(tsk, (unsigned long)unsafe_src, dst, size, 0); WARNING: line length of 88 exceeds 80 columns #194: FILE: kernel/trace/bpf_trace.c:3587: + ret = strncpy_from_user(dst, (const void __user *)unsafe_src, size - 1); WARNING: line length of 85 exceeds 80 columns #205: FILE: kernel/trace/bpf_trace.c:3598: +static __always_inline int copy_kernel_str_nofault(void *dst, const void *unsafe_src, WARNING: line length of 85 exceeds 80 columns #206: FILE: kernel/trace/bpf_trace.c:3599: + u32 size, struct task_struct *tsk) WARNING: line length of 88 exceeds 80 columns #219: FILE: kernel/trace/bpf_trace.c:3616: + u32 size, const void __user *unsafe_ptr__ign) WARNING: line length of 83 exceeds 80 columns #226: FILE: kernel/trace/bpf_trace.c:3623: + u32 size, const void *unsafe_ptr__ign) WARNING: line length of 92 exceeds 80 columns #233: FILE: kernel/trace/bpf_trace.c:3630: + u32 size, const void __user *unsafe_ptr__ign) WARNING: line length of 84 exceeds 80 columns #235: FILE: kernel/trace/bpf_trace.c:3632: + return __bpf_dynptr_copy_str(dptr, off, size, (const void *)unsafe_ptr__ign, WARNING: line length of 82 exceeds 80 columns #239: FILE: kernel/trace/bpf_trace.c:3636: +__bpf_kfunc int bpf_probe_read_kernel_str_dynptr(struct bpf_dynptr *dptr, u32 off, WARNING: line length of 87 exceeds 80 columns #240: FILE: kernel/trace/bpf_trace.c:3637: + u32 size, const void *unsafe_ptr__ign) WARNING: line length of 87 exceeds 80 columns #247: FILE: kernel/trace/bpf_trace.c:3644: + u32 size, const void __user *unsafe_ptr__ign) WARNING: line length of 91 exceeds 80 columns #254: FILE: kernel/trace/bpf_trace.c:3651: + u32 size, const void __user *unsafe_ptr__ign) WARNING: line length of 84 exceeds 80 columns #256: FILE: kernel/trace/bpf_trace.c:3653: + return __bpf_dynptr_copy_str(dptr, off, size, (const void *)unsafe_ptr__ign, WARNING: line length of 92 exceeds 80 columns #261: FILE: kernel/trace/bpf_trace.c:3658: + u32 size, const void __user *unsafe_ptr__ign, WARNING: line length of 84 exceeds 80 columns #268: FILE: kernel/trace/bpf_trace.c:3665: +__bpf_kfunc int bpf_copy_from_user_task_str_dynptr(struct bpf_dynptr *dptr, u32 off, WARNING: line length of 96 exceeds 80 columns #269: FILE: kernel/trace/bpf_trace.c:3666: + u32 size, const void __user *unsafe_ptr__ign, WARNING: line length of 84 exceeds 80 columns #272: FILE: kernel/trace/bpf_trace.c:3669: + return __bpf_dynptr_copy_str(dptr, off, size, (const void *)unsafe_ptr__ign, total: 0 errors, 37 warnings, 0 checks, 217 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 99d24423ed65 ("bpf: implement dynptr copy kfuncs") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE 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, 37 warnings, 0 checks, 217 lines checked