CHECK: Prefer using the BIT macro #38: FILE: include/linux/btf.h:82: +#define KF_DYNPTR_XDP (1 << 16) /* kfunc takes dynptr to XDP */ CHECK: Prefer using the BIT macro #39: FILE: include/linux/btf.h:83: +#define KF_DYNPTR_SKB (1 << 17) /* kfunc takes dynptr to SKB */ CHECK: Prefer using the BIT macro #40: FILE: include/linux/btf.h:84: +#define KF_DYNPTR_SKB_META (1 << 18) /* kfunc takes dynptr to SKB metadata */ WARNING: line length of 83 exceeds 80 columns #55: FILE: kernel/bpf/verifier.c:2303: + const struct bpf_kfunc_call_arg_meta *meta) WARNING: line length of 98 exceeds 80 columns #68: FILE: kernel/bpf/verifier.c:2316: + verifier_bug(env, "multiple dynptr types declared for kfunc %s", meta->func_name); WARNING: line length of 91 exceeds 80 columns #95: FILE: kernel/bpf/verifier.c:13308: + dynptr_arg_type |= dynptr_type_from_kfunc_flags(env, meta); WARNING: line length of 87 exceeds 80 columns #97: FILE: kernel/bpf/verifier.c:13310: + if (meta->func_id == special_kfunc_list[KF_bpf_dynptr_clone] && WARNING: line length of 82 exceeds 80 columns #116: FILE: net/core/filter.c:12235: +BTF_ID_FLAGS(func, bpf_dynptr_from_skb_meta, KF_TRUSTED_ARGS | KF_DYNPTR_SKB_META) total: 0 errors, 5 warnings, 3 checks, 79 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 653dff3264fe ("bpf: introduce kfunc flags for dynptr types") 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, 5 warnings, 3 checks, 79 lines checked