diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-05-26 05:49:09 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2021-06-04 17:51:07 +0300 |
commit | 2ca11b0e043be6f5c2b188897e9a32275eaab046 (patch) | |
tree | 1b24e8d8160e9ca11575f313cf222282987a2e21 /kernel/cgroup/cgroup.c | |
parent | c2a11971549b16a24cce81250d84b63d53499fd0 (diff) | |
download | linux-2ca11b0e043be6f5c2b188897e9a32275eaab046.tar.xz |
cgroup: Fix kernel-doc
Fix function name in cgroup.c and rstat.c kernel-doc comment
to remove these warnings found by clang_w1.
kernel/cgroup/cgroup.c:2401: warning: expecting prototype for
cgroup_taskset_migrate(). Prototype was for cgroup_migrate_execute()
instead.
kernel/cgroup/rstat.c:233: warning: expecting prototype for
cgroup_rstat_flush_begin(). Prototype was for cgroup_rstat_flush_hold()
instead.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: 'commit e595cd706982 ("cgroup: track migration context in cgroup_mgctx")'
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup/cgroup.c')
-rw-r--r-- | kernel/cgroup/cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 099d3c663ce3..74e3cc801615 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -2389,7 +2389,7 @@ struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset, } /** - * cgroup_taskset_migrate - migrate a taskset + * cgroup_migrate_execute - migrate a taskset * @mgctx: migration context * * Migrate tasks in @mgctx as setup by migration preparation functions. |