WARNING: line length of 89 exceeds 80 columns #179: FILE: kernel/bpf/helpers.c:3990: + struct bpf_task_work_ctx *ctx = container_of(cb, struct bpf_task_work_ctx, work); WARNING: line length of 81 exceeds 80 columns #187: FILE: kernel/bpf/helpers.c:3998: + * This callback may start running before bpf_task_work_irq() switched to WARNING: line length of 95 exceeds 80 columns #188: FILE: kernel/bpf/helpers.c:3999: + * SCHEDULED state, so handle both transition variants SCHEDULING|SCHEDULED -> RUNNING. WARNING: line length of 99 exceeds 80 columns #212: FILE: kernel/bpf/helpers.c:4023: + 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 #218: FILE: kernel/bpf/helpers.c:4029: + if (cmpxchg(&ctx->state, BPF_TW_PENDING, BPF_TW_SCHEDULING) != BPF_TW_PENDING) { WARNING: line length of 95 exceeds 80 columns #227: FILE: kernel/bpf/helpers.c:4038: + * try to switch back to STANDBY for another task_work reuse, but we might have WARNING: line length of 96 exceeds 80 columns #228: FILE: kernel/bpf/helpers.c:4039: + * gone to FREED already, which is fine as we already cleaned up after ourselves WARNING: line length of 89 exceeds 80 columns #244: FILE: kernel/bpf/helpers.c:4055: + bpf_task_work_cancel(ctx); /* clean up if we switched into FREED state */ WARNING: line length of 82 exceeds 80 columns #247: FILE: kernel/bpf/helpers.c:4058: +static struct bpf_task_work_ctx *bpf_task_work_fetch_ctx(struct bpf_task_work *tw, WARNING: line length of 84 exceeds 80 columns #278: FILE: kernel/bpf/helpers.c:4089: +static struct bpf_task_work_ctx *bpf_task_work_acquire_ctx(struct bpf_task_work *tw, WARNING: line length of 85 exceeds 80 columns #291: FILE: kernel/bpf/helpers.c:4102: + if (cmpxchg(&ctx->state, BPF_TW_STANDBY, BPF_TW_PENDING) != BPF_TW_STANDBY) { WARNING: line length of 98 exceeds 80 columns #292: FILE: kernel/bpf/helpers.c:4103: + /* lost acquiring race or map_release_uref() stole it from us, put ref and bail */ WARNING: line length of 95 exceeds 80 columns #298: FILE: kernel/bpf/helpers.c:4109: + * If no process or bpffs is holding a reference to the map, no new callbacks should be WARNING: line length of 97 exceeds 80 columns #299: FILE: kernel/bpf/helpers.c:4110: + * scheduled. This does not address any race or correctness issue, but rather is a policy WARNING: line length of 85 exceeds 80 columns #313: FILE: kernel/bpf/helpers.c:4124: +static int bpf_task_work_schedule(struct task_struct *task, struct bpf_task_work *tw, WARNING: line length of 92 exceeds 80 columns #314: FILE: kernel/bpf/helpers.c:4125: + struct bpf_map *map, bpf_task_work_callback_t callback_fn, WARNING: line length of 92 exceeds 80 columns #315: FILE: kernel/bpf/helpers.c:4126: + struct bpf_prog_aux *aux, enum task_work_notify_mode mode) WARNING: line length of 91 exceeds 80 columns #365: FILE: kernel/bpf/helpers.c:4182: + return bpf_task_work_schedule(task, tw, map__map, callback, aux__prog, TWA_SIGNAL); WARNING: line length of 91 exceeds 80 columns #374: FILE: kernel/bpf/helpers.c:4199: + return bpf_task_work_schedule(task, tw, map__map, callback, aux__prog, TWA_RESUME); WARNING: line length of 99 exceeds 80 columns #381: FILE: kernel/bpf/helpers.c:4206: + 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 #384: FILE: kernel/bpf/helpers.c:4209: + 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, 328 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 eb55b2e3efbe ("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, 328 lines checked