WARNING: line length of 89 exceeds 80 columns #137: FILE: kernel/bpf/helpers.c:3791: + struct bpf_task_work_ctx *ctx = container_of(rcu, struct bpf_task_work_ctx, rcu); WARNING: line length of 89 exceeds 80 columns #193: FILE: kernel/bpf/helpers.c:3847: + struct bpf_task_work_ctx *ctx = container_of(cb, struct bpf_task_work_ctx, work); WARNING: line length of 81 exceeds 80 columns #201: FILE: kernel/bpf/helpers.c:3855: + * This callback may start running before bpf_task_work_irq() switched to WARNING: line length of 95 exceeds 80 columns #202: FILE: kernel/bpf/helpers.c:3856: + * SCHEDULED state, so handle both transition variants SCHEDULING|SCHEDULED -> RUNNING. WARNING: line length of 99 exceeds 80 columns #226: FILE: kernel/bpf/helpers.c:3880: + 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 #232: FILE: kernel/bpf/helpers.c:3886: + if (cmpxchg(&ctx->state, BPF_TW_PENDING, BPF_TW_SCHEDULING) != BPF_TW_PENDING) { WARNING: line length of 95 exceeds 80 columns #241: FILE: kernel/bpf/helpers.c:3895: + * try to switch back to STANDBY for another task_work reuse, but we might have WARNING: line length of 96 exceeds 80 columns #242: FILE: kernel/bpf/helpers.c:3896: + * gone to FREED already, which is fine as we already cleaned up after ourselves WARNING: line length of 89 exceeds 80 columns #258: FILE: kernel/bpf/helpers.c:3912: + bpf_task_work_cancel(ctx); /* clean up if we switched into FREED state */ WARNING: line length of 82 exceeds 80 columns #261: FILE: kernel/bpf/helpers.c:3915: +static struct bpf_task_work_ctx *bpf_task_work_fetch_ctx(struct bpf_task_work *tw, WARNING: line length of 84 exceeds 80 columns #292: FILE: kernel/bpf/helpers.c:3946: +static struct bpf_task_work_ctx *bpf_task_work_acquire_ctx(struct bpf_task_work *tw, WARNING: line length of 85 exceeds 80 columns #309: FILE: kernel/bpf/helpers.c:3963: + if (cmpxchg(&ctx->state, BPF_TW_STANDBY, BPF_TW_PENDING) != BPF_TW_STANDBY) { WARNING: line length of 98 exceeds 80 columns #310: FILE: kernel/bpf/helpers.c:3964: + /* lost acquiring race or map_release_uref() stole it from us, put ref and bail */ WARNING: line length of 85 exceeds 80 columns #332: FILE: kernel/bpf/helpers.c:3986: +static int bpf_task_work_schedule(struct task_struct *task, struct bpf_task_work *tw, WARNING: line length of 92 exceeds 80 columns #333: FILE: kernel/bpf/helpers.c:3987: + struct bpf_map *map, bpf_task_work_callback_t callback_fn, WARNING: line length of 92 exceeds 80 columns #334: FILE: kernel/bpf/helpers.c:3988: + struct bpf_prog_aux *aux, enum task_work_notify_mode mode) WARNING: line length of 91 exceeds 80 columns #384: FILE: kernel/bpf/helpers.c:4044: + return bpf_task_work_schedule(task, tw, map__map, callback, aux__prog, TWA_SIGNAL); WARNING: line length of 91 exceeds 80 columns #393: FILE: kernel/bpf/helpers.c:4061: + return bpf_task_work_schedule(task, tw, map__map, callback, aux__prog, TWA_RESUME); WARNING: line length of 99 exceeds 80 columns #400: FILE: kernel/bpf/helpers.c:4068: + 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 #403: FILE: kernel/bpf/helpers.c:4071: + bpf_task_work_ctx_put(ctx); /* and here we put map's own ref that was transferred to us */ total: 0 errors, 20 warnings, 0 checks, 347 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 a83d09274ddd ("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, 20 warnings, 0 checks, 347 lines checked