Add the description of @kargs in cgroup_can_fork() and cgroup_post_fork() kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. kernel/cgroup/cgroup.c:6235: warning: Function parameter or member 'kargs' not described in 'cgroup_can_fork' kernel/cgroup/cgroup.c:6296: warning: Function parameter or member 'kargs' not described in 'cgroup_post_fork'
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -6224,6 +6224,7 @@ static void cgroup_css_set_put_fork(struct kernel_clone_args *kargs) · 6223 unmodified lines | |||
| 6224 | /** | 6224 | /** |
| 6225 | * cgroup_can_fork - called on a new task before the process is exposed | 6225 | * cgroup_can_fork - called on a new task before the process is exposed |
| 6226 | * @child: the child process | 6226 | * @child: the child process |
| 6227 | * @kargs: the arguments passed to create the child process | ||
| 6227 | * | 6228 | * |
| 6228 | * This prepares a new css_set for the child process which the child will | 6229 | * This prepares a new css_set for the child process which the child will |
| 6229 | * be attached to in cgroup_post_fork(). | 6230 | * be attached to in cgroup_post_fork(). |
| @@ -6286,6 +6287,7 @@ void cgroup_cancel_fork(struct task_struct *child, · 56 unmodified lines | |||
| 6286 | /** | 6287 | /** |
| 6287 | * cgroup_post_fork - finalize cgroup setup for the child process | 6288 | * cgroup_post_fork - finalize cgroup setup for the child process |
| 6288 | * @child: the child process | 6289 | * @child: the child process |
| 6290 | * @kargs: the arguments passed to create the child process | ||
| 6289 | * | 6291 | * |
| 6290 | * Attach the child process to its css_set calling the subsystem fork() | 6292 | * Attach the child process to its css_set calling the subsystem fork() |
| 6291 | * callbacks. | 6293 | * callbacks. |