Skip to content

Commit c70cd03

Browse files
wb-zjp846396htejun
authored andcommitted
cpuset: Fix kernel-doc
Fix the following W=1 kernel warnings: kernel/cgroup/cpuset.c:3718: warning: expecting prototype for cpuset_memory_pressure_bump(). Prototype was for __cpuset_memory_pressure_bump() instead. kernel/cgroup/cpuset.c:3568: warning: expecting prototype for cpuset_node_allowed(). Prototype was for __cpuset_node_allowed() instead. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent 467a726 commit c70cd03

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

kernel/cgroup/cpuset.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3524,8 +3524,8 @@ static struct cpuset *nearest_hardwall_ancestor(struct cpuset *cs)
35243524
return cs;
35253525
}
35263526

3527-
/**
3528-
* cpuset_node_allowed - Can we allocate on a memory node?
3527+
/*
3528+
* __cpuset_node_allowed - Can we allocate on a memory node?
35293529
* @node: is this an allowed node?
35303530
* @gfp_mask: memory allocation flags
35313531
*
@@ -3696,8 +3696,8 @@ void cpuset_print_current_mems_allowed(void)
36963696

36973697
int cpuset_memory_pressure_enabled __read_mostly;
36983698

3699-
/**
3700-
* cpuset_memory_pressure_bump - keep stats of per-cpuset reclaims.
3699+
/*
3700+
* __cpuset_memory_pressure_bump - keep stats of per-cpuset reclaims.
37013701
*
37023702
* Keep a running average of the rate of synchronous (direct)
37033703
* page reclaim efforts initiated by tasks in each cpuset.
@@ -3712,7 +3712,7 @@ int cpuset_memory_pressure_enabled __read_mostly;
37123712
* "memory_pressure". Value displayed is an integer
37133713
* representing the recent rate of entry into the synchronous
37143714
* (direct) page reclaim by any task attached to the cpuset.
3715-
**/
3715+
*/
37163716

37173717
void __cpuset_memory_pressure_bump(void)
37183718
{

0 commit comments

Comments
 (0)