summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKe Zhao <ke.zhao.kernel@gmail.com>2026-03-18 16:53:49 +0800
committerTejun Heo <tj@kernel.org>2026-03-21 08:35:56 -1000
commit068014daad8d07bc11b24c223bc2d2c331b458bd (patch)
tree240a069695b0db20e62dd2c3b37fe38b345ee18d
parent818dbedd043e94f270403c795fe7856bfa61e013 (diff)
downloadlinux-068014daad8d07bc11b24c223bc2d2c331b458bd.tar.gz
linux-068014daad8d07bc11b24c223bc2d2c331b458bd.zip
tools/sched_ext: Update stale scx_ops_error() comment in fcg_cgroup_move()
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>
-rw-r--r--tools/sched_ext/scx_flatcg.bpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sched_ext/scx_flatcg.bpf.c b/tools/sched_ext/scx_flatcg.bpf.c
index 2f6ff19ca9d5..fec359581826 100644
--- a/tools/sched_ext/scx_flatcg.bpf.c
+++ b/tools/sched_ext/scx_flatcg.bpf.c
@@ -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;