WARNING: line length of 89 exceeds 80 columns #122: FILE: kernel/bpf/helpers.c:3781: + struct bpf_task_work_ctx *ctx = container_of(rcu, struct bpf_task_work_ctx, rcu); WARNING: line length of 91 exceeds 80 columns #166: FILE: kernel/bpf/helpers.c:3825: + struct bpf_task_work_ctx *ctx = container_of(head, struct bpf_task_work_ctx, work); WARNING: line length of 89 exceeds 80 columns #185: FILE: kernel/bpf/helpers.c:3844: + struct bpf_task_work_ctx *ctx = container_of(cb, struct bpf_task_work_ctx, work); WARNING: line length of 81 exceeds 80 columns #193: FILE: kernel/bpf/helpers.c:3852: + * This callback may start running before bpf_task_work_irq() switched to WARNING: line length of 95 exceeds 80 columns #194: FILE: kernel/bpf/helpers.c:3853: + * SCHEDULED state, so handle both transition variants SCHEDULING|SCHEDULED -> RUNNING. WARNING: line length of 99 exceeds 80 columns #218: FILE: kernel/bpf/helpers.c:3877: + struct bpf_task_work_ctx *ctx = container_of(irq_work, struct bpf_task_work_ctx, irq_work); WARNING: line length of 88 exceeds 80 columns #224: FILE: kernel/bpf/helpers.c:3883: + if (cmpxchg(&ctx->state, BPF_TW_PENDING, BPF_TW_SCHEDULING) != BPF_TW_PENDING) { WARNING: line length of 95 exceeds 80 columns #233: FILE: kernel/bpf/helpers.c:3892: + * try to switch back to STANDBY for another task_work reuse, but we might have WARNING: line length of 96 exceeds 80 columns #234: FILE: kernel/bpf/helpers.c:3893: + * gone to FREED already, which is fine as we already cleaned up after ourselves WARNING: line length of 89 exceeds 80 columns #251: FILE: kernel/bpf/helpers.c:3910: + bpf_task_work_cancel(ctx); /* clean up if we switched into FREED state */ WARNING: line length of 82 exceeds 80 columns #254: FILE: kernel/bpf/helpers.c:3913: +static struct bpf_task_work_ctx *bpf_task_work_fetch_ctx(struct bpf_task_work *tw, WARNING: line length of 84 exceeds 80 columns #285: FILE: kernel/bpf/helpers.c:3944: +static struct bpf_task_work_ctx *bpf_task_work_acquire_ctx(struct bpf_task_work *tw, WARNING: line length of 85 exceeds 80 columns #302: FILE: kernel/bpf/helpers.c:3961: + if (cmpxchg(&ctx->state, BPF_TW_STANDBY, BPF_TW_PENDING) != BPF_TW_STANDBY) { WARNING: line length of 98 exceeds 80 columns #303: FILE: kernel/bpf/helpers.c:3962: + /* lost acquiring race or map_release_uref() stole it from us, put ref and bail */ WARNING: line length of 85 exceeds 80 columns #325: FILE: kernel/bpf/helpers.c:3984: +static int bpf_task_work_schedule(struct task_struct *task, struct bpf_task_work *tw, WARNING: line length of 92 exceeds 80 columns #326: FILE: kernel/bpf/helpers.c:3985: + struct bpf_map *map, bpf_task_work_callback_t callback_fn, WARNING: line length of 92 exceeds 80 columns #327: FILE: kernel/bpf/helpers.c:3986: + struct bpf_prog_aux *aux, enum task_work_notify_mode mode) WARNING: line length of 91 exceeds 80 columns #377: FILE: kernel/bpf/helpers.c:4042: + return bpf_task_work_schedule(task, tw, map__map, callback, aux__prog, TWA_SIGNAL); WARNING: line length of 91 exceeds 80 columns #386: FILE: kernel/bpf/helpers.c:4059: + return bpf_task_work_schedule(task, tw, map__map, callback, aux__prog, TWA_RESUME); WARNING: line length of 99 exceeds 80 columns #393: FILE: kernel/bpf/helpers.c:4066: + struct bpf_task_work_ctx *ctx = container_of(irq_work, struct bpf_task_work_ctx, irq_work); WARNING: line length of 98 exceeds 80 columns #396: FILE: kernel/bpf/helpers.c:4069: + bpf_task_work_ctx_put(ctx); /* and here we put map's own ref that was transferred to us */ total: 0 errors, 21 warnings, 0 checks, 355 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 8cca7474424d ("bpf: task work scheduling 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, 21 warnings, 0 checks, 355 lines checked