WARNING: macros should not use a trailing semicolon #63: 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 #88: 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 #119: 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 #170: 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 #193: 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 #203: 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 #302: 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 #312: 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 #313: 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 #328: 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 #334: 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 #365: FILE: kernel/bpf/verifier.c:12483: +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 #508: FILE: kernel/bpf/verifier.c:12769: + if (is_bpf_refcount_acquire_kfunc(meta->func_id) && meta->arg_owning_ref) WARNING: line length of 82 exceeds 80 columns #566: FILE: kernel/bpf/verifier.c:13287: + kfunc_btf_id == special_kfunc_list[KF_bpf_rbtree_remove] || WARNING: line length of 89 exceeds 80 columns #586: FILE: kernel/bpf/verifier.c:13515: + if (is_kfunc_arg_ignore(btf, &args[i]) || is_kfunc_arg_implicit(meta, i)) WARNING: line length of 96 exceeds 80 columns #601: FILE: kernel/bpf/verifier.c:13695: + verbose(env, "arg#%d expected for bpf_obj_drop()\n", i); WARNING: line length of 83 exceeds 80 columns #607: FILE: kernel/bpf/verifier.c:13699: + if (!is_bpf_percpu_obj_drop_kfunc(meta->func_id)) { WARNING: line length of 103 exceeds 80 columns #608: FILE: kernel/bpf/verifier.c:13700: + verbose(env, "arg#%d expected for bpf_percpu_obj_drop()\n", i); WARNING: line length of 96 exceeds 80 columns #627: FILE: kernel/bpf/verifier.c:14063: + 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 #686: FILE: kernel/bpf/verifier.c:14412: + 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 #722: FILE: kernel/bpf/verifier.c:23402: + 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 #728: FILE: kernel/bpf/verifier.c:23407: + if (is_bpf_percpu_obj_new_kfunc(desc->func_id) && kptr_struct_meta) { WARNING: line length of 86 exceeds 80 columns #746: FILE: kernel/bpf/verifier.c:23424: + if (is_bpf_percpu_obj_drop_kfunc(desc->func_id) && kptr_struct_meta) { WARNING: line length of 88 exceeds 80 columns #754: FILE: kernel/bpf/verifier.c:23430: + if (is_bpf_refcount_acquire_kfunc(desc->func_id) && !kptr_struct_meta) { total: 0 errors, 24 warnings, 0 checks, 696 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 9274e23ca258 ("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, 696 lines checked