]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools/sched_ext: Update stale scx_ops_error() comment in fcg_cgroup_move()
authorKe Zhao <ke.zhao.kernel@gmail.com>
Wed, 18 Mar 2026 08:53:49 +0000 (16:53 +0800)
committerTejun Heo <tj@kernel.org>
Sat, 21 Mar 2026 18:35:56 +0000 (08:35 -1000)
The function scx_ops_error() was dropped, but the
comment here is left pointing to the old name.
Update to be consistent with current API.

Signed-off-by: Ke Zhao <ke.zhao.kernel@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/sched_ext/scx_flatcg.bpf.c

index 2f6ff19ca9d5a1976040678e552209c1535dfeeb..fec35958182695ded296d85f0a33a1ce85695394 100644 (file)
@@ -921,7 +921,7 @@ void BPF_STRUCT_OPS(fcg_cgroup_move, struct task_struct *p,
        struct fcg_cgrp_ctx *from_cgc, *to_cgc;
        s64 delta;
 
-       /* find_cgrp_ctx() triggers scx_ops_error() on lookup failures */
+       /* find_cgrp_ctx() triggers scx_bpf_error() on lookup failures */
        if (!(from_cgc = find_cgrp_ctx(from)) || !(to_cgc = find_cgrp_ctx(to)))
                return;