From: Jiapeng Chong Date: Sat, 8 Oct 2022 06:34:09 +0000 (+0800) Subject: AppArmor: Fix kernel-doc X-Git-Tag: v6.2-rc1~86^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=64a27ba984342d6c5cf5facc278de5c5df1fd3ff;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Jiapeng Chong Signed-off-by: John Johansen --- diff --git a/security/apparmor/audit.c b/security/apparmor/audit.c index 8dfdda98fbf13..5a7978aa4b19e 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) *