]> Git Repo - linux.git/commitdiff
apparmor: Fix one kernel-doc comment
authorYang Li <[email protected]>
Mon, 23 Oct 2023 01:11:23 +0000 (09:11 +0800)
committerJohn Johansen <[email protected]>
Mon, 23 Oct 2023 07:26:05 +0000 (00:26 -0700)
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 <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7036
Signed-off-by: Yang Li <[email protected]>
Signed-off-by: John Johansen <[email protected]>
security/apparmor/domain.c

index ed4a13d44894ce950bb53646462105d07b9c7111..89fbeab4b33bd89041ec5af15aac390034249165 100644 (file)
@@ -31,7 +31,7 @@
 
 /**
  * may_change_ptraced_domain - check if can change profile on ptraced task
- * @cred: cred of task changing domain
+ * @to_cred: cred of task changing domain
  * @to_label: profile to change to  (NOT NULL)
  * @info: message if there is an error
  *
This page took 0.059735 seconds and 4 git commands to generate.