WARNING: line length of 91 exceeds 80 columns #139: FILE: kernel/bpf/arraymap.c:442: + if (btf_record_has_field(map->record, BPF_TIMER | BPF_WORKQUEUE | BPF_TASK_WORK)) { WARNING: line length of 98 exceeds 80 columns #146: FILE: kernel/bpf/arraymap.c:449: + bpf_obj_free_task_work(map->record, array_map_elem_ptr(array, i)); WARNING: line length of 82 exceeds 80 columns #210: FILE: kernel/bpf/hashtab.c:228: + htab_elem_value(elem, htab->map.key_size)); WARNING: line length of 96 exceeds 80 columns #238: FILE: kernel/bpf/hashtab.c:1525: + if (btf_record_has_field(htab->map.record, BPF_TIMER | BPF_WORKQUEUE | BPF_TASK_WORK)) { WARNING: line length of 86 exceeds 80 columns #274: FILE: kernel/bpf/helpers.c:3741: +typedef void (*bpf_task_work_callback_t)(struct bpf_map *map, void *key, void *value); WARNING: line length of 97 exceeds 80 columns #277: FILE: kernel/bpf/helpers.c:3744: + * bpf_task_work_schedule_signal - Schedule BPF callback using task_work_add with TWA_SIGNAL mode WARNING: line length of 81 exceeds 80 columns #279: FILE: kernel/bpf/helpers.c:3746: + * @tw: Pointer to struct bpf_task_work in BPF map value for internal bookkeeping WARNING: line length of 88 exceeds 80 columns #284: FILE: kernel/bpf/helpers.c:3751: + * Return: 0 if task work has been scheduled successfully, negative error code otherwise WARNING: line length of 97 exceeds 80 columns #286: FILE: kernel/bpf/helpers.c:3753: +__bpf_kfunc int bpf_task_work_schedule_signal(struct task_struct *task, struct bpf_task_work *tw, WARNING: line length of 97 exceeds 80 columns #288: FILE: kernel/bpf/helpers.c:3755: + bpf_task_work_callback_t callback, void *aux__prog) WARNING: line length of 97 exceeds 80 columns #294: FILE: kernel/bpf/helpers.c:3761: + * bpf_task_work_schedule_resume - Schedule BPF callback using task_work_add with TWA_RESUME mode WARNING: line length of 81 exceeds 80 columns #296: FILE: kernel/bpf/helpers.c:3763: + * @tw: Pointer to struct bpf_task_work in BPF map value for internal bookkeeping WARNING: line length of 88 exceeds 80 columns #301: FILE: kernel/bpf/helpers.c:3768: + * Return: 0 if task work has been scheduled successfully, negative error code otherwise WARNING: line length of 97 exceeds 80 columns #303: FILE: kernel/bpf/helpers.c:3770: +__bpf_kfunc int bpf_task_work_schedule_resume(struct task_struct *task, struct bpf_task_work *tw, WARNING: line length of 97 exceeds 80 columns #305: FILE: kernel/bpf/helpers.c:3772: + bpf_task_work_callback_t callback, void *aux__prog) WARNING: line length of 94 exceeds 80 columns #368: FILE: kernel/bpf/syscall.c:1252: + BPF_RB_ROOT | BPF_REFCOUNT | BPF_WORKQUEUE | BPF_UPTR | WARNING: line length of 93 exceeds 80 columns #389: FILE: kernel/bpf/verifier.c:2243: + if (btf_record_has_field(map->inner_map_meta->record, BPF_TASK_WORK)) WARNING: line length of 92 exceeds 80 columns #402: FILE: kernel/bpf/verifier.c:8592: + offsetof(struct btf_record, task_work_off), BPF_TASK_WORK, WARNING: line length of 88 exceeds 80 columns #423: FILE: kernel/bpf/verifier.c:10645: + is_bpf_wq_set_callback_impl_kfunc(insn->imm) || WARNING: line length of 86 exceeds 80 columns #484: FILE: kernel/bpf/verifier.c:12179: +static bool is_kfunc_arg_task_work(const struct btf *btf, const struct btf_param *arg) WARNING: line length of 81 exceeds 80 columns #518: FILE: kernel/bpf/verifier.c:12396: + return func_id == special_kfunc_list[KF_bpf_task_work_schedule_signal] || WARNING: line length of 88 exceeds 80 columns #548: FILE: kernel/bpf/verifier.c:13238: + if (meta->map.ptr && reg->map_ptr->record->task_work_off >= 0) { WARNING: line length of 89 exceeds 80 columns #574: FILE: kernel/bpf/verifier.c:13575: + verbose(env, "arg#%d doesn't point to a map value\n", i); WARNING: line length of 82 exceeds 80 columns #592: FILE: kernel/bpf/verifier.c:13952: + verbose(env, "kfunc %s#%d failed callback verification\n", total: 0 errors, 24 warnings, 0 checks, 499 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 8f999f002d1d ("bpf: bpf task work plumbing") 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, 24 warnings, 0 checks, 499 lines checked