OSDN Git Service

AppArmor: Fix kernel-doc
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Sat, 8 Oct 2022 06:34:09 +0000 (14:34 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Tue, 25 Oct 2022 07:15:18 +0000 (00:15 -0700)
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>
security/apparmor/audit.c

index 8dfdda9..5a7978a 100644 (file)
@@ -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)
  *