]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
apparmor: Fix kernel-doc warnings in apparmor/audit.c
authorGaosheng Cui <cuigaosheng1@huawei.com>
Sun, 25 Jun 2023 01:13:39 +0000 (09:13 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 10 Jul 2023 08:05:25 +0000 (01:05 -0700)
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>
security/apparmor/audit.c

index 5a7978aa4b19e7e0a976442535eb2d730a03271e..a3db0f8bd4f8596bea43a405e5b5b4d07b4582e8 100644 (file)
@@ -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)
  */