Skip to content

Commit 13c1748

Browse files
gscuijrjohansen
authored andcommitted
apparmor: Fix kernel-doc warnings in apparmor/resource.c
Fix kernel-doc warnings: security/apparmor/resource.c:111: warning: Function parameter or member 'label' not described in 'aa_task_setrlimit' security/apparmor/resource.c:111: warning: Function parameter or member 'new_rlim' not described in 'aa_task_setrlimit' security/apparmor/resource.c:111: warning: Function parameter or member 'resource' not described in 'aa_task_setrlimit' security/apparmor/resource.c:111: warning: Function parameter or member 'task' not described in 'aa_task_setrlimit' Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent 7abbbd5 commit 13c1748

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

security/apparmor/resource.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ static int profile_setrlimit(struct aa_profile *profile, unsigned int resource,
9797

9898
/**
9999
* aa_task_setrlimit - test permission to set an rlimit
100-
* @label - label confining the task (NOT NULL)
101-
* @task - task the resource is being set on
102-
* @resource - the resource being set
103-
* @new_rlim - the new resource limit (NOT NULL)
100+
* @label: label confining the task (NOT NULL)
101+
* @task: task the resource is being set on
102+
* @resource: the resource being set
103+
* @new_rlim: the new resource limit (NOT NULL)
104104
*
105105
* Control raising the processes hard limit.
106106
*

0 commit comments

Comments
 (0)