WARNING: macros should not use a trailing semicolon #62: FILE: include/linux/btf_ids.h:220: +#define BTF_ID_LIST(name) static u32 __maybe_unused name[128]; WARNING: line length of 81 exceeds 80 columns #87: FILE: kernel/bpf/helpers.c:2317: +__bpf_kfunc void *bpf_obj_new(u64 local_type_id__k, struct btf_struct_meta *meta) WARNING: line length of 88 exceeds 80 columns #118: FILE: kernel/bpf/helpers.c:2347: +__bpf_kfunc void *bpf_percpu_obj_new(u64 local_type_id__k, struct btf_struct_meta *meta) WARNING: line length of 82 exceeds 80 columns #169: FILE: kernel/bpf/helpers.c:2410: +__bpf_kfunc void bpf_percpu_obj_drop(void *p__alloc, struct btf_struct_meta *meta) WARNING: line length of 94 exceeds 80 columns #192: FILE: kernel/bpf/helpers.c:2431: +__bpf_kfunc void *bpf_refcount_acquire(void *p__refcounted_kptr, struct btf_struct_meta *meta) WARNING: line length of 86 exceeds 80 columns #202: FILE: kernel/bpf/helpers.c:2448: +__bpf_kfunc void *bpf_refcount_acquire_impl(void *p__refcounted_kptr, void *meta__ign) WARNING: line length of 95 exceeds 80 columns #301: FILE: kernel/bpf/helpers.c:2662: + bool (less)(struct bpf_rb_node *a, const struct bpf_rb_node *b), WARNING: line length of 87 exceeds 80 columns #311: FILE: kernel/bpf/helpers.c:2671: +__bpf_kfunc int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, WARNING: line length of 100 exceeds 80 columns #312: FILE: kernel/bpf/helpers.c:2672: + bool (less)(struct bpf_rb_node *a, const struct bpf_rb_node *b), WARNING: line length of 83 exceeds 80 columns #327: FILE: kernel/bpf/helpers.c:4671: +BTF_ID_FLAGS(func, bpf_percpu_obj_new, KF_ACQUIRE | KF_RET_NULL | KF_IMPLICIT_ARGS) WARNING: line length of 94 exceeds 80 columns #333: FILE: kernel/bpf/helpers.c:4677: +BTF_ID_FLAGS(func, bpf_refcount_acquire, KF_ACQUIRE | KF_RET_NULL | KF_RCU | KF_IMPLICIT_ARGS) WARNING: line length of 90 exceeds 80 columns #382: FILE: kernel/bpf/verifier.c:12485: +static bool is_kfunc_arg_implicit(const struct bpf_kfunc_call_arg_meta *meta, u32 arg_idx) WARNING: line length of 81 exceeds 80 columns #527: FILE: kernel/bpf/verifier.c:12773: + if (is_bpf_refcount_acquire_kfunc(meta->func_id) && meta->arg_owning_ref) WARNING: line length of 82 exceeds 80 columns #585: FILE: kernel/bpf/verifier.c:13291: + kfunc_btf_id == special_kfunc_list[KF_bpf_rbtree_remove] || WARNING: line length of 89 exceeds 80 columns #605: FILE: kernel/bpf/verifier.c:13519: + if (is_kfunc_arg_ignore(btf, &args[i]) || is_kfunc_arg_implicit(meta, i)) WARNING: line length of 96 exceeds 80 columns #620: FILE: kernel/bpf/verifier.c:13699: + verbose(env, "arg#%d expected for bpf_obj_drop()\n", i); WARNING: line length of 83 exceeds 80 columns #626: FILE: kernel/bpf/verifier.c:13703: + if (!is_bpf_percpu_obj_drop_kfunc(meta->func_id)) { WARNING: line length of 103 exceeds 80 columns #627: FILE: kernel/bpf/verifier.c:13704: + verbose(env, "arg#%d expected for bpf_percpu_obj_drop()\n", i); WARNING: line length of 96 exceeds 80 columns #646: FILE: kernel/bpf/verifier.c:14067: + if (is_bpf_obj_new_kfunc(meta->func_id) || is_bpf_percpu_obj_new_kfunc(meta->func_id)) { WARNING: line length of 92 exceeds 80 columns #705: FILE: kernel/bpf/verifier.c:14416: + if (is_bpf_list_push_kfunc(meta.func_id) || is_bpf_rbtree_add_kfunc(meta.func_id)) { WARNING: line length of 96 exceeds 80 columns #741: FILE: kernel/bpf/verifier.c:23406: + if (is_bpf_obj_new_kfunc(desc->func_id) || is_bpf_percpu_obj_new_kfunc(desc->func_id)) { WARNING: line length of 85 exceeds 80 columns #747: FILE: kernel/bpf/verifier.c:23411: + if (is_bpf_percpu_obj_new_kfunc(desc->func_id) && kptr_struct_meta) { WARNING: line length of 86 exceeds 80 columns #765: FILE: kernel/bpf/verifier.c:23428: + if (is_bpf_percpu_obj_drop_kfunc(desc->func_id) && kptr_struct_meta) { WARNING: line length of 88 exceeds 80 columns #773: FILE: kernel/bpf/verifier.c:23434: + if (is_bpf_refcount_acquire_kfunc(desc->func_id) && !kptr_struct_meta) { total: 0 errors, 24 warnings, 0 checks, 714 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 b0d8f498f8c2 ("bpf: Support struct btf_struct_meta via KF_IMPLICIT_ARGS") 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, 24 warnings, 0 checks, 714 lines checked