From: Gaosheng Cui Date: Sun, 25 Jun 2023 01:13:46 +0000 (+0800) Subject: apparmor: Fix kernel-doc warnings in apparmor/resource.c X-Git-Tag: v6.7-rc1~81^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13c1748e217078d437727eef333cb0387d13bc0e;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: John Johansen --- diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c index e859481648962..2bebc5d9e7411 100644 --- a/security/apparmor/resource.c +++ b/security/apparmor/resource.c @@ -97,10 +97,10 @@ static int profile_setrlimit(struct aa_profile *profile, unsigned int resource, /** * aa_task_setrlimit - test permission to set an rlimit - * @label - label confining the task (NOT NULL) - * @task - task the resource is being set on - * @resource - the resource being set - * @new_rlim - the new resource limit (NOT NULL) + * @label: label confining the task (NOT NULL) + * @task: task the resource is being set on + * @resource: the resource being set + * @new_rlim: the new resource limit (NOT NULL) * * Control raising the processes hard limit. *