diff mbox series

[-next,01/11] apparmor: Fix kernel-doc warnings in apparmor/audit.c

Message ID 20230625011349.1457810-2-cuigaosheng1@huawei.com (mailing list archive)
State Handled Elsewhere
Headers show
Series Fix kernel-doc warnings in apparmor | expand

Commit Message

Gaosheng Cui June 25, 2023, 1:13 a.m. UTC
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>
---
 security/apparmor/audit.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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)
  */