Skip to contentSkip to conversation

kernel/cgroup.c: fix 2 kernel-doc warnings

PATCH New Fabian Frederick 2 participants 2 messages May 5, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 kernel/cgroup.c: fix 2 kernel-doc warnings

Fix typo and variable name.

---
 kernel/cgroup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cgroup.c +2 -2
index 9fcdaa7..4c2f2f2 100644
@@ -1737,7 +1737,7 @@ struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset)
 
 /**
  * cgroup_task_migrate - move a task from one cgroup to another.
- * @old_cgrp; the cgroup @tsk is being migrated from
+ * @old_cgrp: the cgroup @tsk is being migrated from
  * @tsk: the task being migrated
  * @new_cset: the new css_set @tsk is being attached to
  *
@@ -4053,7 +4053,7 @@ static int cgroup_destroy_locked(struct cgroup *cgrp)
 
 /**
  * cgroup_destroy_css_killed - the second step of cgroup destruction
- * @work: cgroup->destroy_free_work
+ * @cgrp: cgroup->destroy_free_work
  *
  * This function is invoked from a work item for a cgroup which is being
  * destroyed after all css's are offlined and performs the rest of
Signature · 1 line
1.9.1
Applied
#1 lore raw

PATCH 1/1 kernel/cgroup.c: fix 2 kernel-doc warnings

Applied to cgroup/for-3.16 with the actual argument description updated.

Thanks.
------ 8< ------

Quoted 1 line

From 60106946ca7f63396680130b25511ccf6b7d5bff Mon Sep 17 00:00:00 2001

From: Fabian Frederick <[email protected]>
Date: Mon, 5 May 2014 20:08:13 +0200

Fix typo and variable name.

tj: Updated @cgrp argument description in cgroup_destroy_css_killed()

---
 kernel/cgroup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cgroup.c +2 -2
index a1a20e8..07815ef 100644
@@ -1888,7 +1888,7 @@ struct task_struct *cgroup_taskset_next(struct cgroup_taskset *tset)
 
 /**
  * cgroup_task_migrate - move a task from one cgroup to another.
- * @old_cgrp; the cgroup @tsk is being migrated from
+ * @old_cgrp: the cgroup @tsk is being migrated from
  * @tsk: the task being migrated
  * @new_cset: the new css_set @tsk is being attached to
  *
@@ -4586,7 +4586,7 @@ static int cgroup_destroy_locked(struct cgroup *cgrp)
 
 /**
  * cgroup_destroy_css_killed - the second step of cgroup destruction
- * @work: cgroup->destroy_free_work
+ * @cgrp: the cgroup whose csses have just finished offlining
  *
  * This function is invoked from a work item for a cgroup which is being
  * destroyed after all css's are offlined and performs the rest of
Signature · 1 line
1.9.0