Skip to content

Commit cd269ca

Browse files
Yang Lijrjohansen
authored andcommitted
apparmor: Fix one kernel-doc comment
Fix one kernel-doc comment to silence the warnings: security/apparmor/domain.c:46: warning: Function parameter or member 'to_cred' not described in 'may_change_ptraced_domain' security/apparmor/domain.c:46: warning: Excess function parameter 'cred' description in 'may_change_ptraced_domain' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7036 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent 6a81051 commit cd269ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/apparmor/domain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
/**
3333
* may_change_ptraced_domain - check if can change profile on ptraced task
34-
* @cred: cred of task changing domain
34+
* @to_cred: cred of task changing domain
3535
* @to_label: profile to change to (NOT NULL)
3636
* @info: message if there is an error
3737
*

0 commit comments

Comments
 (0)