summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2022-10-08 14:34:09 +0800
committerJohn Johansen <john.johansen@canonical.com>2022-10-25 00:15:18 -0700
commit64a27ba984342d6c5cf5facc278de5c5df1fd3ff (patch)
tree7a6cbb67fed1e9f4ae255f03dc7e44e0196da76d /security
parent665b1856dc2399828d8ee07a18d4fd79868e729a (diff)
downloadlinux-next-64a27ba984342d6c5cf5facc278de5c5df1fd3ff.tar.gz
AppArmor: Fix kernel-doc
security/apparmor/audit.c:93: warning: expecting prototype for audit_base(). Prototype was for audit_pre() instead. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2339 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/audit.c b/security/apparmor/audit.c
index 8dfdda98fbf1..5a7978aa4b19 100644
--- a/security/apparmor/audit.c
+++ b/security/apparmor/audit.c
@@ -83,7 +83,7 @@ static const char *const aa_class_names[] = {
*/
/**
- * audit_base - core AppArmor function.
+ * audit_pre() - core AppArmor function.
* @ab: audit buffer to fill (NOT NULL)
* @ca: audit structure containing data to audit (NOT NULL)
*