summaryrefslogtreecommitdiff
path: root/security/apparmor
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-03-15 13:54:09 +0100
committerJohn Johansen <john.johansen@canonical.com>2024-05-10 08:53:56 -0700
commitb2c858148acf96290b9a9af259a04e080a169f51 (patch)
tree60e7ce565be46bd03b34ae31c01961105046f054 /security/apparmor
parent4a8db3678403e34c31df6b99a26414d5e183538c (diff)
downloadlwn-b2c858148acf96290b9a9af259a04e080a169f51.tar.gz
lwn-b2c858148acf96290b9a9af259a04e080a169f51.zip
apparmor: fix typo in kernel doc
Fix the typo in the function documentation to please kernel doc warnings. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor')
-rw-r--r--security/apparmor/lsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index c2f73d281724..717204fba938 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -1124,7 +1124,7 @@ static int apparmor_socket_create(int family, int type, int protocol, int kern)
* @sock: socket that is being setup
* @family: family of socket being created
* @type: type of the socket
- * @ptotocol: protocol of the socket
+ * @protocol: protocol of the socket
* @kern: socket is a special kernel socket
*
* Note: