summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2022-10-08 08:34:11 +0200
committerJohn Johansen <john.johansen@canonical.com>2022-10-25 09:15:18 +0200
commita2217387c3ec09117b3b6eaa5ec8a0d7d347d4ba (patch)
tree81f71a2b84ec7cdd71ad48eb756b59ad94f41bb0 /security
parentLSM: Fix kernel-doc (diff)
downloadlinux-a2217387c3ec09117b3b6eaa5ec8a0d7d347d4ba.tar.xz
linux-a2217387c3ec09117b3b6eaa5ec8a0d7d347d4ba.zip
AppArmor: Fix kernel-doc
security/apparmor/ipc.c:53: warning: expecting prototype for audit_cb(). Prototype was for audit_signal_cb() instead. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2337 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>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/ipc.c b/security/apparmor/ipc.c
index 1d4099385bdf..5acde746775f 100644
--- a/security/apparmor/ipc.c
+++ b/security/apparmor/ipc.c
@@ -45,7 +45,7 @@ static const char *audit_signal_mask(u32 mask)
}
/**
- * audit_cb - call back for signal specific audit fields
+ * audit_signal_cb() - call back for signal specific audit fields
* @ab: audit_buffer (NOT NULL)
* @va: audit struct to audit values of (NOT NULL)
*/