summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2023-06-25 03:13:39 +0200
committerJohn Johansen <john.johansen@canonical.com>2023-07-10 10:05:25 +0200
commit26c9ecb34f5f5fa43c041a220de01d7cbea97dd0 (patch)
tree326db27162cc56a181a47275449d1e92cef87c12 /security
parentapparmor: use passed in gfp flags in aa_alloc_null() (diff)
downloadlinux-26c9ecb34f5f5fa43c041a220de01d7cbea97dd0.tar.xz
linux-26c9ecb34f5f5fa43c041a220de01d7cbea97dd0.zip
apparmor: Fix kernel-doc warnings in apparmor/audit.c
Fix kernel-doc warnings: security/apparmor/audit.c:150: warning: Function parameter or member 'type' not described in 'aa_audit_msg' Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/audit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/audit.c b/security/apparmor/audit.c
index 5a7978aa4b19..a3db0f8bd4f8 100644
--- a/security/apparmor/audit.c
+++ b/security/apparmor/audit.c
@@ -142,6 +142,7 @@ static void audit_pre(struct audit_buffer *ab, void *ca)
/**
* aa_audit_msg - Log a message to the audit subsystem
+ * @type: audit type for the message
* @sa: audit event structure (NOT NULL)
* @cb: optional callback fn for type specific fields (MAYBE NULL)
*/