Skip to content

Commit 05f76ae

Browse files
Caixinchen1htejun
authored andcommitted
cgroup/cpuset: fix kernel-doc
Add kernel-doc of param @rotor to fix warnings: kernel/cgroup/cpuset.c:4162: warning: Function parameter or member 'rotor' not described in 'cpuset_spread_node' kernel/cgroup/cpuset.c:3771: warning: Function parameter or member 'work' not described in 'cpuset_hotplug_workfn' Signed-off-by: Cai Xinchen <[email protected]> Acked-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 55a5956 commit 05f76ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/cgroup/cpuset.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3753,6 +3753,7 @@ static void cpuset_hotplug_update_tasks(struct cpuset *cs, struct tmpmasks *tmp)
37533753

37543754
/**
37553755
* cpuset_hotplug_workfn - handle CPU/memory hotunplug for a cpuset
3756+
* @work: unused
37563757
*
37573758
* This function is called after either CPU or memory configuration has
37583759
* changed and updates cpuset accordingly. The top_cpuset is always
@@ -4135,6 +4136,7 @@ bool cpuset_node_allowed(int node, gfp_t gfp_mask)
41354136

41364137
/**
41374138
* cpuset_spread_node() - On which node to begin search for a page
4139+
* @rotor: round robin rotor
41384140
*
41394141
* If a task is marked PF_SPREAD_PAGE or PF_SPREAD_SLAB (as for
41404142
* tasks in a cpuset with is_spread_page or is_spread_slab set),

0 commit comments

Comments
 (0)